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.00189/0.00189, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002372/0.002372, allocations: 213.3 kB / 23.72 MB, free: 4.539 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.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 0.001535/0.001535, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2617, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003664/0.2654, allocations: 1.875 MB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2677, allocations: 1.239 MB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2679, allocations: 4 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.2682, allocations: 63.67 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.2686, allocations: 139.4 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.2694, allocations: 230.3 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.2697, allocations: 179.5 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2698, allocations: 21.72 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2699, allocations: 83.58 kB / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.27, allocations: 75.67 kB / 435 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.2701, allocations: 12 kB / 435 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2702, allocations: 71.94 kB / 435.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.2703, allocations: 55.77 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.2704, allocations: 59.55 kB / 435.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.2708, allocations: 244.7 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2708, allocations: 4 kB / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2708, allocations: 0 / 435.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2708, allocations: 0 / 435.4 MB, free: 2.312 MB / 334.1 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.0007222/0.2715, allocations: 482.5 kB / 435.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2716, allocations: 8.031 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.2716, allocations: 42.69 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.2717, allocations: 20.8 kB / 435.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.2721, allocations: 233.5 kB / 436.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2721, allocations: 4.375 kB / 436.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2721, allocations: 15.94 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.2725, allocations: 180.4 kB / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2725, allocations: 0 / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2725, allocations: 0 / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2725, allocations: 0 / 436.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2726, allocations: 43.91 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.2732, allocations: 349.5 kB / 436.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.2734, allocations: 115.9 kB / 436.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.2735, allocations: 42.55 kB / 436.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2735, allocations: 8 kB / 436.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.2737, allocations: 79.31 kB / 437 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2737, allocations: 0 / 437 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003942/0.2741, allocations: 157.9 kB / 437.1 MB, free: 372 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.2742, allocations: 144.4 kB / 437.3 MB, free: 196 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.2746, allocations: 337.9 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2746, allocations: 29.7 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.2747, allocations: 132.1 kB / 437.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2747, allocations: 15.91 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.2748, allocations: 33.64 kB / 437.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2749, allocations: 338.8 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.275, allocations: 28.05 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2751, allocations: 137.3 kB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2753, allocations: 88.28 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2753, allocations: 4 kB / 438.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002442/0.2755, allocations: 129.4 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2756, allocations: 4 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2756, allocations: 3.984 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2756, allocations: 8.125 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2757, allocations: 15.98 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2757, allocations: 7.938 kB / 438.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.2758, allocations: 11.94 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2758, allocations: 4 kB / 438.6 MB, free: 14.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001543/0.2759, allocations: 161.8 kB / 438.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.276, allocations: 69.45 kB / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.2763, allocations: 119.4 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2763, allocations: 4.062 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2763, allocations: 4 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2763, allocations: 7.922 kB / 438.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2765, allocations: 200.6 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2765, allocations: 4 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.2766, allocations: 11.94 kB / 439.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2766, allocations: 4 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2766, allocations: 64 / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2766, allocations: 7.984 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2766, allocations: 4 kB / 439.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.2769, allocations: 178.5 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.277, allocations: 35.84 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.277, allocations: 4 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.2771, allocations: 3.984 kB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2771, allocations: 19.86 kB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2771, allocations: 4 kB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.2774, allocations: 249.2 kB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2774, allocations: 0 / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.2777, allocations: 39.92 kB / 439.7 MB, free: 13.61 MB / 350.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: 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.002099/0.2798, allocations: 1.05 MB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.28, allocations: 79.78 kB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.28, allocations: 4 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.2801, allocations: 27.98 kB / 440.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.2805, allocations: 72.09 kB / 440.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.2831, allocations: 2.238 MB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2832, allocations: 131.9 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.2833, allocations: 33.61 kB / 443.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2834, allocations: 59.42 kB / 443.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2834, allocations: 0 / 443.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.3163, allocations: 6.05 MB / 449.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.39, allocations: 7.453 kB / 449.4 MB, free: 3.953 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.002830632030964]