Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.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.001336/0.001336, allocations: 110.8 kB / 21.19 MB, free: 0.6602 MB / 14.72 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.00142/0.00142, allocations: 205.2 kB / 24.49 MB, free: 3.957 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.224/0.224, allocations: 46.96 MB / 361.6 MB, free: 4.141 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 59.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2794, allocations: 66.05 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.00653/0.2859, allocations: 3.101 MB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003461/0.2894, allocations: 1.544 MB / 0.5664 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.2896, allocations: 27.75 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.2901, allocations: 150.7 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.2906, allocations: 190.6 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.2918, allocations: 0.569 MB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.293, allocations: 0.9708 MB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.2933, allocations: 174.9 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.2938, allocations: 394.5 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.2944, allocations: 430.1 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2945, allocations: 64 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.2948, allocations: 207.7 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.295, allocations: 203.2 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.2953, allocations: 274.3 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2963, allocations: 0.9208 MB / 0.5708 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.2963, allocations: 8 kB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2963, allocations: 3.938 kB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.2963, allocations: 3.938 kB / 0.5708 GB, free: 10.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002462/0.2988, allocations: 1.107 MB / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2988, allocations: 12.02 kB / 0.5719 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.2991, allocations: 108.3 kB / 0.572 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3001, allocations: 0.5247 MB / 0.5725 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.3002, allocations: 37.38 kB / 0.5726 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.3003, allocations: 52.38 kB / 0.5726 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3015, allocations: 0.6767 MB / 0.5733 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.3015, allocations: 4 kB / 0.5733 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.3016, allocations: 20 kB / 0.5733 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3016, allocations: 12 kB / 0.5733 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3027, allocations: 470.1 kB / 0.5737 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.3064, allocations: 2.392 MB / 0.5761 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3074, allocations: 0.4923 MB / 0.5766 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.308, allocations: 254.9 kB / 0.5768 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.308, allocations: 4.234 kB / 0.5768 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3081, allocations: 42.73 kB / 0.5768 GB, free: 4.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 4.899e-06/0.3081, allocations: 3.984 kB / 0.5769 GB, free: 4.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002538/0.3106, allocations: 1.175 MB / 0.578 GB, free: 3.324 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/0.3107, allocations: 158.2 kB / 0.5782 GB, free: 3.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/0.3116, allocations: 0.6409 MB / 0.5788 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.3116, allocations: 41.69 kB / 0.5788 GB, free: 2.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.3119, allocations: 369 kB / 0.5792 GB, free: 2.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.3121, allocations: 186.4 kB / 0.5793 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.3123, allocations: 114.3 kB / 0.5795 GB, free: 1.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3125, allocations: 386.8 kB / 0.5798 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.3131, allocations: 283.3 kB / 0.5801 GB, free: 1.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008274/0.314, allocations: 0.4926 MB / 0.5806 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3154, allocations: 0.7099 MB / 0.5813 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3154, allocations: 4 kB / 0.5813 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001693/0.3171, allocations: 0.8239 MB / 0.5821 GB, free: 14.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3171, allocations: 11.5 kB / 0.5821 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3171, allocations: 4 kB / 0.5821 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3171, allocations: 12 kB / 0.5821 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.3182, allocations: 195.7 kB / 0.5823 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.3182, allocations: 8 kB / 0.5823 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.3187, allocations: 83.72 kB / 0.5824 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.3188, allocations: 27.94 kB / 0.5824 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007985/0.3196, allocations: 425.2 kB / 0.5828 GB, free: 14.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007804/0.3204, allocations: 492.6 kB / 0.5833 GB, free: 13.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001328/0.3217, allocations: 0.6844 MB / 0.5839 GB, free: 12.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/0.3217, allocations: 0 / 0.5839 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001634/0.3233, allocations: 0.8077 MB / 0.5847 GB, free: 12.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3233, allocations: 8 kB / 0.5847 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3234, allocations: 4 kB / 0.5847 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.3234, allocations: 8 kB / 0.5848 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/0.3243, allocations: 188 kB / 0.5849 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3243, allocations: 15.94 kB / 0.5849 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.3249, allocations: 79.67 kB / 0.585 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.3249, allocations: 24 kB / 0.585 GB, free: 11.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002103/0.3251, allocations: 220 kB / 0.5853 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3253, allocations: 79.52 kB / 0.5853 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.3255, allocations: 82.78 kB / 0.5854 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3255, allocations: 11.98 kB / 0.5854 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3255, allocations: 0 / 0.5854 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.3258, allocations: 123.3 kB / 0.5855 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.3259, allocations: 19.94 kB / 0.5856 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.3265, allocations: 51.94 kB / 0.5856 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3266, allocations: 43.86 kB / 0.5857 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002771/0.3293, allocations: 1.023 MB / 0.5867 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002262/0.3316, allocations: 1.3 MB / 0.5879 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006525/0.3323, allocations: 282.7 kB / 0.5882 GB, free: 8.469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006464/0.3329, allocations: 447 kB / 0.5886 GB, free: 8.039 MB / 430.1 MB Notification: Performance of Backend: time 5.41e-07/0.3329, allocations: 0 / 0.5886 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.3353, allocations: 0.8427 MB / 0.5894 GB, free: 7.191 MB / 430.1 MB Notification: Performance of SimCode: time 0.002596/0.3379, allocations: 1.93 MB / 0.5913 GB, free: 5.207 MB / 430.1 MB Notification: Performance of Templates: time 0.02395/0.3618, allocations: 14.77 MB / 0.6057 GB, free: 6.625 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.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: 5.263356767005462]