Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 80.06 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007981/0.0007981, allocations: 149.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8872/0.8872, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.595e-05, allocations: 3.688 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002169/0.002185, allocations: 1.84 MB / 320.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003413, allocations: 1.094 MB / 321.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.003514, allocations: 7.938 kB / 321.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.003808, allocations: 67.59 kB / 321.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.00403, allocations: 99.47 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.004496, allocations: 265.5 kB / 321.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.004684, allocations: 175.4 kB / 322 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.004781, allocations: 29.77 kB / 322 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.004885, allocations: 95.78 kB / 322.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.004979, allocations: 63.8 kB / 322.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.004999, allocations: 12 kB / 322.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.005119, allocations: 79.81 kB / 322.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.005201, allocations: 51.78 kB / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.005254, allocations: 39.84 kB / 322.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.005514, allocations: 239.2 kB / 322.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005516, allocations: 0 / 322.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005517, allocations: 0 / 322.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005521, allocations: 0 / 322.6 MB, free: 2.199 MB / 282.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.0005573/0.006078, allocations: 469.8 kB / 323 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.00612, allocations: 8.922 kB / 323 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.006151, allocations: 42.73 kB / 323.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.006191, allocations: 28.75 kB / 323.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.006467, allocations: 220.8 kB / 323.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.006481, allocations: 8.375 kB / 323.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.006493, allocations: 4.375 kB / 323.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.006776, allocations: 184 kB / 323.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006785, allocations: 4 kB / 323.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.006796, allocations: 8 kB / 323.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.006801, allocations: 0 / 323.5 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.006877, allocations: 39.97 kB / 323.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.007284, allocations: 341.5 kB / 323.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.007453, allocations: 115.9 kB / 324 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.007506, allocations: 46.56 kB / 324 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.007529, allocations: 0 / 324 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.007662, allocations: 83.31 kB / 324.1 MB, free: 444 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.007663, allocations: 0 / 324.1 MB, free: 444 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002656/0.007929, allocations: 157.4 kB / 324.3 MB, free: 280 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.007998, allocations: 136.5 kB / 324.4 MB, free: 112 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.008237, allocations: 329.8 kB / 324.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.008252, allocations: 25.7 kB / 324.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.008319, allocations: 132.1 kB / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.008339, allocations: 19.84 kB / 324.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.008375, allocations: 33.89 kB / 324.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.008463, allocations: 330.8 kB / 325.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.008506, allocations: 23.98 kB / 325.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.008576, allocations: 118.8 kB / 325.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.008655, allocations: 61.95 kB / 325.5 MB, free: 15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008657, allocations: 0 / 325.5 MB, free: 15 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000122/0.008779, allocations: 105.5 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.008792, allocations: 4 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008797, allocations: 0 / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008808, allocations: 8.062 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.008872, allocations: 11.98 kB / 325.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.008878, allocations: 4 kB / 325.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.008917, allocations: 7.953 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.008925, allocations: 7.938 kB / 325.6 MB, free: 14.84 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.0001008/0.009026, allocations: 147.6 kB / 325.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.009079, allocations: 69.53 kB / 325.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.009256, allocations: 139.6 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009259, allocations: 4.062 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.009264, allocations: 0 / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.009268, allocations: 0 / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.009415, allocations: 200.6 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009416, allocations: 0 / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.009463, allocations: 15.98 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009466, allocations: 0 / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.009473, allocations: 0 / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009474, allocations: 4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009476, allocations: 3.938 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.009628, allocations: 174.6 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.009681, allocations: 43.7 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.009702, allocations: 8 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.132e-05/0.009733, allocations: 8.062 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.00978, allocations: 11.98 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.009794, allocations: 4 kB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.009952, allocations: 245.2 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009952, allocations: 0 / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.01012, allocations: 31.94 kB / 326.7 MB, free: 13.67 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.001032/0.01115, allocations: 1.045 MB / 327.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.0113, allocations: 63.91 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01131, allocations: 0 / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.01136, allocations: 31.98 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.01165, allocations: 75.41 kB / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.01334, allocations: 2.156 MB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.087e-05/0.01344, allocations: 135.9 kB / 330.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.01349, allocations: 25.62 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.01357, allocations: 60.47 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01357, allocations: 4 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.0338, allocations: 6.056 MB / 336.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.057/7.091, allocations: 12.28 kB / 336.4 MB, free: 4.113 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.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.804759353399277]