Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 117.2 kB / 20.38 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 191.3 kB / 23.66 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 252.4 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 55.92 kB / 370.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2694, allocations: 52.14 MB / 422.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003785/0.2732, allocations: 1.847 MB / 424.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2751, allocations: 1.06 MB / 425.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2752, allocations: 0 / 425.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.2759, allocations: 163.5 kB / 425.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.2763, allocations: 139.5 kB / 426.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.2769, allocations: 175.1 kB / 426.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.2772, allocations: 207.4 kB / 426.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2773, allocations: 9.562 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2775, allocations: 87.61 kB / 426.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.2776, allocations: 91.66 kB / 426.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.2777, allocations: 15.94 kB / 426.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.2778, allocations: 51.97 kB / 426.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.2779, allocations: 47.84 kB / 426.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.278, allocations: 83.52 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.2784, allocations: 216.6 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2784, allocations: 0 / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2784, allocations: 0 / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2784, allocations: 0 / 427 MB, free: 10.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001/0.2794, allocations: 0.5349 MB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2794, allocations: 8.031 kB / 427.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.572e-05/0.2795, allocations: 24.8 kB / 427.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.2799, allocations: 270.8 kB / 427.9 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2799, allocations: 4 kB / 427.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2799, allocations: 4 kB / 427.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.2802, allocations: 113.9 kB / 428 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2802, allocations: 0 / 428 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2802, allocations: 4 kB / 428 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2802, allocations: 7.938 kB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.2804, allocations: 43.97 kB / 428 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.2811, allocations: 0.6143 MB / 428.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.2814, allocations: 111.9 kB / 428.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2815, allocations: 42.56 kB / 428.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2816, allocations: 12 kB / 428.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.2818, allocations: 129.8 kB / 429 MB, free: 8.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2818, allocations: 0 / 429 MB, free: 8.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004892/0.2823, allocations: 173.6 kB / 429.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.2824, allocations: 140.4 kB / 429.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.2827, allocations: 289 kB / 429.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.2827, allocations: 25.7 kB / 429.6 MB, free: 8.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2828, allocations: 128.4 kB / 429.7 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.2829, allocations: 27.78 kB / 429.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.2829, allocations: 37.64 kB / 429.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2831, allocations: 334.8 kB / 430.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.422e-05/0.2832, allocations: 35.98 kB / 430.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2833, allocations: 74 kB / 430.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.2835, allocations: 100.2 kB / 430.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2835, allocations: 0 / 430.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003028/0.2838, allocations: 141.4 kB / 430.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2838, allocations: 8 kB / 430.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2838, allocations: 0 / 430.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2839, allocations: 4.625 kB / 430.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.284, allocations: 19.92 kB / 430.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.284, allocations: 8.031 kB / 430.5 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2841, allocations: 19.88 kB / 430.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2841, allocations: 8 kB / 430.5 MB, free: 7.012 MB / 334.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: 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 0.0001421/0.2842, allocations: 149.7 kB / 430.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.2843, allocations: 19.86 kB / 430.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.2845, allocations: 111.3 kB / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2845, allocations: 0 / 430.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2845, allocations: 7.938 kB / 430.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.2846, allocations: 101 kB / 430.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.2847, allocations: 0 / 430.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2848, allocations: 11.98 kB / 430.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.2848, allocations: 15.98 kB / 430.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004427/0.2853, allocations: 367.4 kB / 431.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004435/0.2857, allocations: 477 kB / 431.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001245/0.2858, allocations: 47.97 kB / 431.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.2861, allocations: 208.5 kB / 432 MB, free: 5.465 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2861, allocations: 4 kB / 432 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.2882, allocations: 466.8 kB / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009706/0.2891, allocations: 0.7772 MB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of Templates: time 0.007238/0.2964, allocations: 3.001 MB / 436.2 MB, free: 1.383 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.458480187691748]