Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 53.33 MB / 426.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002965/0.1053, allocations: 1.621 MB / 427.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1065, allocations: 0.6349 MB / 428.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.1066, allocations: 7.938 kB / 428.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.176e-05/0.1066, allocations: 7.875 kB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1068, allocations: 27.78 kB / 428.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.1071, allocations: 91.7 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1072, allocations: 67.83 kB / 428.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.1073, allocations: 15.98 kB / 428.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1075, allocations: 43.8 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.1075, allocations: 39.77 kB / 428.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1076, allocations: 8 kB / 428.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.1076, allocations: 12 kB / 428.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.1077, allocations: 15.92 kB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.1077, allocations: 43.72 kB / 429 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1079, allocations: 83.58 kB / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1079, allocations: 0 / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1079, allocations: 0 / 429 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1079, allocations: 4 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00063/0.1085, allocations: 411 kB / 429.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1086, allocations: 8.031 kB / 429.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.1086, allocations: 42.73 kB / 429.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1087, allocations: 28.83 kB / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.109, allocations: 212.7 kB / 429.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.109, allocations: 8.375 kB / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1091, allocations: 11.94 kB / 429.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.1096, allocations: 220 kB / 430 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1096, allocations: 4 kB / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1096, allocations: 0 / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1096, allocations: 0 / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1098, allocations: 51.91 kB / 430 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1102, allocations: 290.5 kB / 430.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1104, allocations: 95.95 kB / 430.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1105, allocations: 54.55 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1105, allocations: 4 kB / 430.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1106, allocations: 38.56 kB / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1106, allocations: 0 / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004213/0.111, allocations: 141.5 kB / 430.6 MB, free: 276 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.1111, allocations: 118.7 kB / 430.7 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1112, allocations: 151.8 kB / 430.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1113, allocations: 29.7 kB / 430.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.1113, allocations: 88.27 kB / 431 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1113, allocations: 23.83 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1114, allocations: 29.72 kB / 431.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1116, allocations: 322.8 kB / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.1116, allocations: 19.98 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1117, allocations: 89.44 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1119, allocations: 121.2 kB / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1119, allocations: 0 / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000232/0.1122, allocations: 133.4 kB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1122, allocations: 8 kB / 431.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1122, allocations: 0 / 431.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1122, allocations: 4 kB / 431.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1123, allocations: 27.92 kB / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1123, allocations: 4 kB / 431.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.1124, allocations: 20.67 kB / 431.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1124, allocations: 12 kB / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.1125, allocations: 125.8 kB / 431.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.1127, allocations: 101.6 kB / 432 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.1128, allocations: 12.31 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1128, allocations: 7.984 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1128, allocations: 0 / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1128, allocations: 7.922 kB / 432.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.113, allocations: 181.6 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.113, allocations: 4 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1132, allocations: 23.98 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1132, allocations: 3.984 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1132, allocations: 4 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1132, allocations: 4 kB / 432.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1132, allocations: 0 / 432.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.1135, allocations: 233 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1136, allocations: 96.97 kB / 432.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1136, allocations: 8 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.1137, allocations: 4 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1138, allocations: 7.922 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1138, allocations: 8 kB / 432.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1139, allocations: 114.6 kB / 432.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1139, allocations: 0 / 432.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1142, allocations: 19.95 kB / 432.8 MB, free: 13.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007295/0.1149, allocations: 0.8043 MB / 433.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.1151, allocations: 80.22 kB / 433.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1151, allocations: 4 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.1151, allocations: 8 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.1156, allocations: 64.3 kB / 433.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.1176, allocations: 1.686 MB / 435.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.118, allocations: 0.7119 MB / 436.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.118, allocations: 8.547 kB / 436.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.1181, allocations: 31.42 kB / 436.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1181, allocations: 0 / 436.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.1448, allocations: 2.271 MB / 438.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/7.924, allocations: 10.88 kB / 438.4 MB, free: 8.16 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.395353113068268]