Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008406/0.0008406, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008538/0.0008538, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8702/0.8702, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.577e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00247/0.002495, allocations: 1.815 MB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003774, allocations: 1.133 MB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.003873, allocations: 0 / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.004448, allocations: 175.3 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.004784, allocations: 174.8 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.005107, allocations: 147.4 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.005325, allocations: 223.2 kB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.005427, allocations: 9.812 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.005557, allocations: 119.7 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005672, allocations: 79.78 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.005695, allocations: 12 kB / 328.4 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.00582, allocations: 63.83 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.005891, allocations: 51.83 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.005955, allocations: 43.86 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.006247, allocations: 231.2 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.006251, allocations: 0 / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.006252, allocations: 0 / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.006258, allocations: 0 / 328.8 MB, free: 11.62 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000732/0.00699, allocations: 474.7 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.007031, allocations: 11.98 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.007063, allocations: 38.73 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.007107, allocations: 20.8 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.007356, allocations: 208.8 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.007372, allocations: 4.375 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.007389, allocations: 8.375 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.007564, allocations: 113.6 kB / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.007572, allocations: 192 / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.007584, allocations: 12.12 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.007589, allocations: 0 / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.007684, allocations: 55.91 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.008194, allocations: 0.5512 MB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.00837, allocations: 131.8 kB / 330.4 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.008431, allocations: 46.56 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.008451, allocations: 0 / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.008622, allocations: 141.9 kB / 330.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.008623, allocations: 0 / 330.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.00031/0.008933, allocations: 173.4 kB / 330.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.008984, allocations: 106.8 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.009197, allocations: 297.9 kB / 331.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.009212, allocations: 29.7 kB / 331.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.009275, allocations: 124.3 kB / 331.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.009303, allocations: 35.73 kB / 331.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.009347, allocations: 37.83 kB / 331.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.009429, allocations: 330.8 kB / 331.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.009487, allocations: 31.97 kB / 331.7 MB, free: 8.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.00957, allocations: 113.7 kB / 331.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.009678, allocations: 100.1 kB / 331.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009681, allocations: 3.938 kB / 331.9 MB, free: 8.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001655/0.009846, allocations: 149.5 kB / 332 MB, free: 8.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.00986, allocations: 4 kB / 332 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.009867, allocations: 4 kB / 332.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.009879, allocations: 0.625 kB / 332.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.00994, allocations: 15.94 kB / 332.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.009947, allocations: 4 kB / 332.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.01, allocations: 15.98 kB / 332.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01001, allocations: 4 kB / 332.1 MB, free: 7.973 MB / 298.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 9.512e-05/0.01011, allocations: 154.4 kB / 332.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.01013, allocations: 23.86 kB / 332.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.01055, allocations: 119.4 kB / 332.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01055, allocations: 4 kB / 332.4 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01055, allocations: 0 / 332.4 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01056, allocations: 4 kB / 332.4 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.01071, allocations: 208.5 kB / 332.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01071, allocations: 0 / 332.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.01073, allocations: 11.94 kB / 332.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01074, allocations: 4 kB / 332.6 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.01075, allocations: 4 kB / 332.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01075, allocations: 4 kB / 332.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01075, allocations: 0 / 332.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.01093, allocations: 190.6 kB / 332.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.01095, allocations: 19.86 kB / 332.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01097, allocations: 4 kB / 332.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.01102, allocations: 7.984 kB / 332.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.01107, allocations: 27.89 kB / 332.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01109, allocations: 8 kB / 332.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.01122, allocations: 221.2 kB / 333.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01122, allocations: 0 / 333.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.0114, allocations: 39.92 kB / 333.1 MB, free: 6.863 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: 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.0009778/0.01238, allocations: 1.053 MB / 334.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.01256, allocations: 91.91 kB / 334.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01257, allocations: 4 kB / 334.3 MB, free: 5.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.01264, allocations: 56.09 kB / 334.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.01289, allocations: 40.47 kB / 334.4 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.0147, allocations: 2.208 MB / 336.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/0.01479, allocations: 127.6 kB / 336.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.588e-05/0.01487, allocations: 29.62 kB / 336.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.01495, allocations: 64.47 kB / 336.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01495, allocations: 0 / 336.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.03531, allocations: 6.095 MB / 342.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/6.911, allocations: 4 kB / 342.9 MB, free: 13.09 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.csv. Warning: Get data of variable table.y from file Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.664122682996094]