Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.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.000881/0.000881, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00561/0.00561, allocations: 166.2 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8687/0.8687, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.225e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00279/0.002822, allocations: 1.775 MB / 300.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004218, allocations: 0.9205 MB / 301.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.004356, allocations: 4 kB / 301.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.005078, allocations: 183.3 kB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.005472, allocations: 131.4 kB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.005858, allocations: 147.6 kB / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.006125, allocations: 215.2 kB / 301.8 MB, free: 148 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.006237, allocations: 9.812 kB / 301.8 MB, free: 140 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.006392, allocations: 115.7 kB / 301.9 MB, free: 24 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1299/0.1363, allocations: 75.86 kB / 302 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.1363, allocations: 11.25 kB / 302 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.1365, allocations: 60.72 kB / 302.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.1366, allocations: 53.08 kB / 302.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.1366, allocations: 44.33 kB / 302.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.137, allocations: 216.1 kB / 302.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.137, allocations: 0.7969 kB / 302.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.137, allocations: 0 / 302.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.137, allocations: 0 / 302.4 MB, free: 13.37 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007607/0.1378, allocations: 467.1 kB / 302.8 MB, free: 13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1378, allocations: 16.34 kB / 302.8 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.1379, allocations: 39.05 kB / 302.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.1379, allocations: 22.73 kB / 302.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1382, allocations: 200.5 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1382, allocations: 4.969 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1382, allocations: 8.281 kB / 303.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1384, allocations: 109.7 kB / 303.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1384, allocations: 3.578 kB / 303.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1384, allocations: 4.969 kB / 303.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1384, allocations: 1.812 kB / 303.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1385, allocations: 56.06 kB / 303.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1389, allocations: 0.5626 MB / 303.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1391, allocations: 124.5 kB / 304 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.1392, allocations: 47.84 kB / 304 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1392, allocations: 8.094 kB / 304 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1393, allocations: 122.8 kB / 304.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.404e-06/0.1393, allocations: 0 / 304.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003274/0.1397, allocations: 179.4 kB / 304.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1397, allocations: 110.3 kB / 304.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1399, allocations: 286.9 kB / 304.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1399, allocations: 27.52 kB / 304.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.14, allocations: 123.2 kB / 304.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.14, allocations: 31.78 kB / 304.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1401, allocations: 34.45 kB / 304.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.1401, allocations: 336.5 kB / 305.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.1402, allocations: 37.36 kB / 305.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.1402, allocations: 108.2 kB / 305.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1404, allocations: 95.91 kB / 305.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1404, allocations: 0 / 305.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00017/0.1405, allocations: 153.5 kB / 305.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1405, allocations: 5.969 kB / 305.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1405, allocations: 4.344 kB / 305.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1406, allocations: 1.953 kB / 305.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.1406, allocations: 14.55 kB / 305.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1406, allocations: 1.734 kB / 305.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1407, allocations: 11.36 kB / 305.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1407, allocations: 9.391 kB / 305.7 MB, free: 11.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.888e-05/0.1408, allocations: 145.7 kB / 305.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.1408, allocations: 26.08 kB / 305.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.141, allocations: 113.9 kB / 305.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.141, allocations: 2.312 kB / 305.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.141, allocations: 1.188 kB / 305.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.141, allocations: 8.859 kB / 306 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1411, allocations: 207.5 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1411, allocations: 1.125 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.1412, allocations: 12.08 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1412, allocations: 1.656 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1412, allocations: 6.641 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1412, allocations: 6.266 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1412, allocations: 0.625 kB / 306.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1414, allocations: 191 kB / 306.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.1414, allocations: 18.61 kB / 306.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1414, allocations: 5.812 kB / 306.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.1414, allocations: 10.05 kB / 306.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.1415, allocations: 16.05 kB / 306.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1415, allocations: 5.125 kB / 306.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1417, allocations: 214.4 kB / 306.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1417, allocations: 1.188 kB / 306.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.1419, allocations: 40.31 kB / 306.7 MB, free: 10.65 MB / 282.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: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009447/0.1428, allocations: 1.057 MB / 307.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.143, allocations: 104 kB / 307.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.143, allocations: 0 / 307.8 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.1431, allocations: 51.84 kB / 307.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1433, allocations: 49.86 kB / 307.9 MB, free: 9.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.145, allocations: 2.195 MB / 310.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.1451, allocations: 123.7 kB / 310.3 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.1452, allocations: 21.73 kB / 310.3 MB, free: 8.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1453, allocations: 57.84 kB / 310.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1453, allocations: 1.281 kB / 310.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.1677, allocations: 6.012 MB / 316.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.391, allocations: 1.281 kB / 316.3 MB, free: 6.336 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00199283 Modelica_3_2_3_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable table.y in file Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.csv. Warning: Get data of variable table.y from file Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.139594737440348]