Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.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.001771/0.001771, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.00211/0.00211, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 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 1.399/1.399, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2362/0.2362, allocations: 46.9 MB / 361.1 MB, free: 4.711 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-beta.om/package.mo) 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(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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-beta.om_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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-beta.om_ModelicaTest.Blocks.Continuous_SteadyState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 87.84 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3073, allocations: 65.99 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004771/0.3121, allocations: 3.385 MB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.3152, allocations: 1.61 MB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.3156, allocations: 23.78 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.3161, allocations: 138.7 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.3166, allocations: 206.5 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3179, allocations: 0.5528 MB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3189, allocations: 0.8929 MB / 0.5679 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.3193, allocations: 166.4 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.3198, allocations: 378.5 kB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.3204, allocations: 414.1 kB / 0.5688 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.3205, allocations: 60 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.3206, allocations: 64 kB / 0.5689 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3208, allocations: 211.2 kB / 0.5691 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.3211, allocations: 337.8 kB / 0.5694 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009155/0.3221, allocations: 0.7816 MB / 0.5702 GB, free: 11.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3221, allocations: 7.938 kB / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3221, allocations: 0 / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3221, allocations: 3.938 kB / 0.5702 GB, free: 11.77 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.002536/0.3246, allocations: 1.174 MB / 0.5713 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3247, allocations: 12.92 kB / 0.5714 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.3249, allocations: 104.3 kB / 0.5715 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.326, allocations: 0.598 MB / 0.572 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.326, allocations: 41.38 kB / 0.5721 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3261, allocations: 48.38 kB / 0.5721 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.3273, allocations: 0.6147 MB / 0.5727 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3273, allocations: 3.938 kB / 0.5727 GB, free: 9.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.3274, allocations: 24 kB / 0.5728 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.3274, allocations: 12 kB / 0.5728 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3285, allocations: 465.8 kB / 0.5732 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.3324, allocations: 2.62 MB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.3336, allocations: 0.535 MB / 0.5763 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/0.3341, allocations: 250.5 kB / 0.5765 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.3342, allocations: 8 kB / 0.5765 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3342, allocations: 38.56 kB / 0.5766 GB, free: 4.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3342, allocations: 0 / 0.5766 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002627/0.3369, allocations: 1.165 MB / 0.5777 GB, free: 3.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.337, allocations: 158.2 kB / 0.5779 GB, free: 3.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.3379, allocations: 0.6528 MB / 0.5785 GB, free: 2.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.3379, allocations: 37.7 kB / 0.5785 GB, free: 2.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.3382, allocations: 368.4 kB / 0.5789 GB, free: 2.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3384, allocations: 182.5 kB / 0.5791 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3386, allocations: 118.3 kB / 0.5792 GB, free: 2.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3388, allocations: 337.9 kB / 0.5795 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008825/0.3396, allocations: 263.3 kB / 0.5798 GB, free: 1.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.341, allocations: 429.5 kB / 0.5802 GB, free: 1.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.3435, allocations: 0.6662 MB / 0.5808 GB, free: 400 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.3435, allocations: 4 kB / 0.5808 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003216/0.3467, allocations: 0.8275 MB / 0.5816 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3467, allocations: 4 kB / 0.5816 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3467, allocations: 8 kB / 0.5816 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.3471, allocations: 60.81 kB / 0.5817 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.3487, allocations: 191.7 kB / 0.5819 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.3512, allocations: 1.609 MB / 0.5834 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.3523, allocations: 79.67 kB / 0.5835 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.3523, allocations: 24 kB / 0.5835 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001418/0.3538, allocations: 405.3 kB / 0.5839 GB, free: 13.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001288/0.355, allocations: 409.2 kB / 0.5843 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002311/0.3574, allocations: 0.6451 MB / 0.585 GB, free: 11.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.969e-06/0.3574, allocations: 0 / 0.585 GB, free: 11.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.003043/0.3604, allocations: 0.7981 MB / 0.5857 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3604, allocations: 8 kB / 0.5857 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3604, allocations: 7.984 kB / 0.5857 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.3607, allocations: 57.36 kB / 0.5858 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3623, allocations: 187.8 kB / 0.586 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.3642, allocations: 1.617 MB / 0.5876 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.3649, allocations: 83.78 kB / 0.5876 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.3649, allocations: 24 kB / 0.5877 GB, free: 8.941 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.3652, allocations: 212.1 kB / 0.5879 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.3654, allocations: 83.42 kB / 0.5879 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.3656, allocations: 90.22 kB / 0.588 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3656, allocations: 7.922 kB / 0.588 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3656, allocations: 0 / 0.588 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.366, allocations: 204.4 kB / 0.5882 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.3661, allocations: 19.98 kB / 0.5883 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006976/0.3668, allocations: 43.94 kB / 0.5883 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3669, allocations: 43.83 kB / 0.5883 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00341/0.3703, allocations: 1.011 MB / 0.5893 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002343/0.3727, allocations: 1.288 MB / 0.5906 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006422/0.3733, allocations: 271.7 kB / 0.5908 GB, free: 5.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006833/0.374, allocations: 459 kB / 0.5913 GB, free: 5.191 MB / 430.1 MB Notification: Performance of Backend: time 3.61e-07/0.374, allocations: 0 / 0.5913 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.3766, allocations: 1.023 MB / 0.5923 GB, free: 4.137 MB / 430.1 MB Notification: Performance of SimCode: time 0.002675/0.3793, allocations: 1.961 MB / 0.5942 GB, free: 2.125 MB / 430.1 MB Notification: Performance of Templates: time 0.03113/0.4104, allocations: 12.53 MB / 0.6064 GB, free: 5.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.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.270671708974987]