Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0008518/0.0008518, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0009079/0.0009079, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8746/0.8746, allocations: 177.1 MB / 204.2 MB, free: 5.738 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.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.201e-05, allocations: 2.281 kB / 324.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002511/0.002533, allocations: 1.894 MB / 326.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.004024, allocations: 1.161 MB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.004151, allocations: 3.938 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.004756, allocations: 159.4 kB / 327.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.005129, allocations: 166.6 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.005557, allocations: 179.2 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.005797, allocations: 183.5 kB / 328.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.0059, allocations: 25.8 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.006027, allocations: 103.7 kB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.006126, allocations: 67.8 kB / 328.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.006147, allocations: 8 kB / 328.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.006273, allocations: 63.89 kB / 328.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.006337, allocations: 43.84 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.006389, allocations: 39.84 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.00666, allocations: 211.2 kB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.006664, allocations: 0 / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.006665, allocations: 0 / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.006671, allocations: 0 / 328.8 MB, free: 11.66 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.0005906/0.007261, allocations: 454 kB / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.007298, allocations: 16.03 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.007328, allocations: 34.75 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.007373, allocations: 24.78 kB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.007642, allocations: 208.8 kB / 329.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.007656, allocations: 8.375 kB / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.007669, allocations: 4.375 kB / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.007922, allocations: 154.2 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.007931, allocations: 0 / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.00794, allocations: 0 / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.007946, allocations: 0 / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.008018, allocations: 43.91 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.008398, allocations: 313.5 kB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.008557, allocations: 107.9 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.008611, allocations: 50.5 kB / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.008632, allocations: 3.984 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.008758, allocations: 75.39 kB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.008759, allocations: 3.938 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002642/0.009023, allocations: 145.5 kB / 330.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.009076, allocations: 110.7 kB / 330.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.009277, allocations: 277.9 kB / 330.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.009296, allocations: 29.7 kB / 330.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.009362, allocations: 116.4 kB / 331 MB, free: 9.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.009382, allocations: 23.91 kB / 331 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.00942, allocations: 33.66 kB / 331 MB, free: 9.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.00951, allocations: 330.8 kB / 331.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.009556, allocations: 19.98 kB / 331.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.009612, allocations: 72.25 kB / 331.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.009685, allocations: 57.64 kB / 331.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009687, allocations: 0 / 331.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001146/0.009802, allocations: 93.58 kB / 331.6 MB, free: 8.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.009816, allocations: 8.062 kB / 331.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.009822, allocations: 0 / 331.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.009837, allocations: 4 kB / 331.6 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.009898, allocations: 12.25 kB / 331.6 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.009903, allocations: 0 / 331.6 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.009944, allocations: 15.98 kB / 331.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.009952, allocations: 4 kB / 331.6 MB, free: 8.59 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 9.396e-05/0.01005, allocations: 138.8 kB / 331.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.0101, allocations: 65.5 kB / 331.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.01025, allocations: 115.5 kB / 331.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01026, allocations: 0 / 331.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01026, allocations: 4 kB / 332 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.01027, allocations: 3.984 kB / 332 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.0104, allocations: 196.6 kB / 332.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0104, allocations: 0 / 332.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.01042, allocations: 7.938 kB / 332.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01043, allocations: 4 kB / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.01043, allocations: 0 / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01044, allocations: 3.984 kB / 332.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01044, allocations: 8 kB / 332.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.01059, allocations: 162.6 kB / 332.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.01063, allocations: 31.83 kB / 332.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01065, allocations: 11.94 kB / 332.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.01069, allocations: 4 kB / 332.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.01072, allocations: 4.078 kB / 332.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01073, allocations: 11.94 kB / 332.4 MB, free: 7.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.01086, allocations: 201.2 kB / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01086, allocations: 0 / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.01105, allocations: 27.94 kB / 332.6 MB, free: 7.531 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.0009608/0.01201, allocations: 1.048 MB / 333.7 MB, free: 6.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01216, allocations: 59.91 kB / 333.7 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01217, allocations: 4 kB / 333.7 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.01221, allocations: 31.92 kB / 333.8 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01251, allocations: 58.91 kB / 333.8 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.01406, allocations: 1.911 MB / 335.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.01415, allocations: 123.4 kB / 335.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.01422, allocations: 21.75 kB / 335.9 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.01429, allocations: 56.47 kB / 335.9 MB, free: 4.246 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.0143, allocations: 0 / 335.9 MB, free: 4.246 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.03482, allocations: 5.468 MB / 341.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/6.982, allocations: 11.3 kB / 341.4 MB, free: 14.84 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.75179014634341]