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.001091/0.001091, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002761, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001102/0.001102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002534, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9923/0.9923, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08323/1.076, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.729e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002302/0.002319, allocations: 1.92 MB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.004099, allocations: 1.184 MB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.004217, allocations: 0 / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.004758, allocations: 167.4 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.005078, allocations: 171.2 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.00537, allocations: 154.5 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.00559, allocations: 223.3 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.005689, allocations: 18.47 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.005871, allocations: 160.3 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.005978, allocations: 79.78 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.005998, allocations: 12 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.00612, allocations: 59.89 kB / 249.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.006181, allocations: 43.86 kB / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.006224, allocations: 31.88 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.006459, allocations: 167.3 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.006477, allocations: 0 / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.006478, allocations: 0 / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.006496, allocations: 0 / 249.4 MB, free: 9.266 MB / 250.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.0005917/0.007088, allocations: 472.9 kB / 249.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.007118, allocations: 8.625 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.007158, allocations: 16.92 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007354, allocations: 201.6 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.007369, allocations: 384 / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.007381, allocations: 12.38 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.007518, allocations: 96.39 kB / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.007526, allocations: 192 / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.007534, allocations: 384 / 250.2 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.007542, allocations: 11.94 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.007584, allocations: 26.75 kB / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.007914, allocations: 446.3 kB / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.008034, allocations: 138.6 kB / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.008064, allocations: 34.5 kB / 250.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.008083, allocations: 3.938 kB / 250.8 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.008204, allocations: 112.7 kB / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.008205, allocations: 0 / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001676/0.008373, allocations: 104.3 kB / 251 MB, free: 7.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.008424, allocations: 110.8 kB / 251.1 MB, free: 7.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.00857, allocations: 230.7 kB / 251.4 MB, free: 7.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.008585, allocations: 33.7 kB / 251.4 MB, free: 7.031 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.008628, allocations: 104.5 kB / 251.5 MB, free: 6.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.008654, allocations: 27.83 kB / 251.5 MB, free: 6.898 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.008958, allocations: 29.7 kB / 251.5 MB, free: 6.863 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.009036, allocations: 334.8 kB / 251.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.009057, allocations: 18.89 kB / 251.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.009106, allocations: 82.83 kB / 252 MB, free: 6.402 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.009165, allocations: 65.86 kB / 252 MB, free: 6.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009168, allocations: 3.938 kB / 252 MB, free: 6.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.812e-05/0.009266, allocations: 92.42 kB / 252.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.009279, allocations: 11.92 kB / 252.1 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.009284, allocations: 4.125 kB / 252.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.009295, allocations: 4 kB / 252.1 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.009369, allocations: 24.56 kB / 252.2 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.009371, allocations: 0 / 252.2 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.00942, allocations: 15.94 kB / 252.2 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.009426, allocations: 4 kB / 252.2 MB, free: 6.156 MB / 250.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.342e-05/0.0095, allocations: 133.5 kB / 252.3 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.009519, allocations: 19.92 kB / 252.3 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.009614, allocations: 71.44 kB / 252.4 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.009617, allocations: 8 kB / 252.4 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009619, allocations: 3.938 kB / 252.4 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.009622, allocations: 0 / 252.4 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.009728, allocations: 117.8 kB / 252.5 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009729, allocations: 0 / 252.5 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.00975, allocations: 11.94 kB / 252.6 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.009771, allocations: 23.86 kB / 252.6 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009774, allocations: 3.984 kB / 252.6 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.009782, allocations: 7.938 kB / 252.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009783, allocations: 0 / 252.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009784, allocations: 0 / 252.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.582e-05/0.009879, allocations: 124.5 kB / 252.7 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.009899, allocations: 4 kB / 252.7 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.00994, allocations: 15.92 kB / 252.7 MB, free: 5.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.009976, allocations: 15.91 kB / 252.7 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.009986, allocations: 8 kB / 252.8 MB, free: 5.539 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.01005, allocations: 85.61 kB / 252.8 MB, free: 5.453 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01005, allocations: 0 / 252.8 MB, free: 5.453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.0102, allocations: 39.92 kB / 252.9 MB, free: 5.414 MB / 250.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.001241/0.01144, allocations: 0.541 MB / 253.4 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01155, allocations: 56.77 kB / 253.5 MB, free: 5.039 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.01156, allocations: 4 kB / 253.5 MB, free: 5.035 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.0116, allocations: 37.02 kB / 253.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01179, allocations: 71.3 kB / 253.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.0123, allocations: 344.7 kB / 253.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.985e-05/0.01234, allocations: 75.98 kB / 254 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.01239, allocations: 33.38 kB / 254 MB, free: 4.426 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.01248, allocations: 79.36 kB / 254.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01248, allocations: 4 kB / 254.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of Templates: time 0.004766/0.01724, allocations: 3.132 MB / 257.2 MB, free: 1.25 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.601381618529558]