Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.0008658/0.0008658, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009394/0.0009394, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8688/0.8688, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 4 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.921e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002483/0.002502, allocations: 1.868 MB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.003969, allocations: 1.246 MB / 327.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.004081, allocations: 7.938 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.00435, allocations: 67.59 kB / 327.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.00465, allocations: 143.3 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.005149, allocations: 230.8 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.005353, allocations: 187.4 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.005465, allocations: 21.8 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.00558, allocations: 99.67 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.005674, allocations: 71.78 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.005693, allocations: 12 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.005824, allocations: 75.88 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.005889, allocations: 51.83 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.005936, allocations: 35.81 kB / 328.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.006181, allocations: 251.1 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006183, allocations: 0 / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006184, allocations: 0 / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.006188, allocations: 0 / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005069/0.006695, allocations: 474.5 kB / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.006729, allocations: 8.031 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.006756, allocations: 38.75 kB / 329.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.006796, allocations: 28.8 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.00706, allocations: 236.7 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.007072, allocations: 4.375 kB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.007084, allocations: 8.375 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.007335, allocations: 176.7 kB / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.007341, allocations: 0 / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.007353, allocations: 8 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.007357, allocations: 0 / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.007427, allocations: 39.92 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.007791, allocations: 349.4 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.007941, allocations: 115.9 kB / 330.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.007993, allocations: 46.55 kB / 330.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.008009, allocations: 3.938 kB / 330.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.008128, allocations: 83.38 kB / 330.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.008129, allocations: 0 / 330.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002553/0.008385, allocations: 157.4 kB / 330.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.008438, allocations: 140.4 kB / 330.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.008665, allocations: 333.9 kB / 331.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.008678, allocations: 33.7 kB / 331.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.008741, allocations: 128.1 kB / 331.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.008758, allocations: 15.91 kB / 331.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.008793, allocations: 29.95 kB / 331.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.008868, allocations: 338.8 kB / 331.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.008906, allocations: 19.98 kB / 331.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.008972, allocations: 118.8 kB / 331.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.009047, allocations: 65.89 kB / 331.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009049, allocations: 0 / 331.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/0.009159, allocations: 101.5 kB / 331.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.00917, allocations: 11.94 kB / 332 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.009174, allocations: 0 / 332 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.009183, allocations: 4.062 kB / 332 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.009245, allocations: 23.92 kB / 332 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.009249, allocations: 0 / 332 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.009289, allocations: 7.938 kB / 332 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.009294, allocations: 0 / 332 MB, free: 8.191 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0002219/0.009516, allocations: 154.8 kB / 332.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.00964, allocations: 69.48 kB / 332.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.009871, allocations: 123.4 kB / 332.3 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.009876, allocations: 8.062 kB / 332.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.00988, allocations: 0 / 332.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.009884, allocations: 0 / 332.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.01004, allocations: 212.6 kB / 332.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01004, allocations: 0 / 332.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.01011, allocations: 19.92 kB / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.01011, allocations: 0 / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01012, allocations: 0 / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01012, allocations: 4 kB / 332.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01012, allocations: 0 / 332.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.0103, allocations: 174.5 kB / 332.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.01036, allocations: 39.84 kB / 332.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01039, allocations: 8.062 kB / 332.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.01043, allocations: 8 kB / 332.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.01048, allocations: 8.078 kB / 332.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.0105, allocations: 11.92 kB / 332.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.01066, allocations: 245.2 kB / 333 MB, free: 7.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01066, allocations: 4 kB / 333.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.01085, allocations: 35.92 kB / 333.1 MB, free: 7.012 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001019/0.01187, allocations: 1.055 MB / 334.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01203, allocations: 67.91 kB / 334.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01203, allocations: 0 / 334.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.01208, allocations: 31.92 kB / 334.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.01236, allocations: 70.84 kB / 334.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.01405, allocations: 2.18 MB / 336.5 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/0.01414, allocations: 131.9 kB / 336.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.513e-05/0.0142, allocations: 25.62 kB / 336.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.01428, allocations: 64.47 kB / 336.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01428, allocations: 4 kB / 336.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.03234, allocations: 6.166 MB / 342.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.73, allocations: 7.516 kB / 342.9 MB, free: 13.31 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.y,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.nHeaderLines,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.table[4,1],table.combiTimeTable.table[4,2],table.combiTimeTable.table[5,1],table.combiTimeTable.table[5,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.combiTimeTable.y[1],table.extrapolation,table.realToInteger.u,table.realToInteger.y,table.shiftTime,table.startTime,table.table[1,1],table.table[1,2],table.table[2,1],table.table[2,2],table.table[3,1],table.table[3,2],table.table[4,1],table.table[4,2],table.table[5,1],table.table[5,2],table.y,time [Calling sys.exit(0), Time elapsed: 8.398944703862071]