Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.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.001759/0.001759, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.00222/0.00222, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2218/0.2218, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 0.4973 GB, free: 7.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2964, allocations: 66.01 MB / 0.5618 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003809/0.3002, allocations: 3.866 MB / 0.5656 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3021, allocations: 1.55 MB / 0.5671 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.3024, allocations: 47.72 kB / 0.5671 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.3027, allocations: 155.1 kB / 0.5673 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.3031, allocations: 175.4 kB / 0.5674 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000919/0.304, allocations: 0.6002 MB / 0.568 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.3046, allocations: 1.03 MB / 0.569 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.305, allocations: 316.4 kB / 0.5693 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.3052, allocations: 383.6 kB / 0.5697 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.3054, allocations: 385.1 kB / 0.5701 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.762e-05/0.3055, allocations: 87.22 kB / 0.5702 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3056, allocations: 87.12 kB / 0.5702 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.3057, allocations: 204.6 kB / 0.5704 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3059, allocations: 334.6 kB / 0.5708 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3065, allocations: 1.038 MB / 0.5718 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3065, allocations: 0 / 0.5718 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3065, allocations: 0.8438 kB / 0.5718 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.3065, allocations: 0 / 0.5718 GB, free: 27.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001713/0.3082, allocations: 1.247 MB / 0.573 GB, free: 26.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3083, allocations: 10.16 kB / 0.573 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3084, allocations: 121.1 kB / 0.5731 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009247/0.3093, allocations: 0.5902 MB / 0.5737 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.3094, allocations: 56.66 kB / 0.5737 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.3095, allocations: 62.78 kB / 0.5738 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.3107, allocations: 0.9742 MB / 0.5748 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.3107, allocations: 0.6562 kB / 0.5748 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.3108, allocations: 32.19 kB / 0.5748 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3108, allocations: 15.12 kB / 0.5748 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3119, allocations: 0.5486 MB / 0.5753 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.3145, allocations: 2.382 MB / 0.5777 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.3157, allocations: 0.6531 MB / 0.5783 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.3161, allocations: 265.7 kB / 0.5786 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.3162, allocations: 18.78 kB / 0.5786 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3162, allocations: 42.23 kB / 0.5786 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/0.3162, allocations: 0 / 0.5786 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.001626/0.3179, allocations: 0.7935 MB / 0.5794 GB, free: 22.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3179, allocations: 342.7 kB / 0.5797 GB, free: 22.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.3185, allocations: 0.6468 MB / 0.5803 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.3186, allocations: 36.45 kB / 0.5804 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3188, allocations: 437.8 kB / 0.5808 GB, free: 21.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3189, allocations: 192.3 kB / 0.581 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.319, allocations: 113 kB / 0.5811 GB, free: 21.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.3191, allocations: 326.9 kB / 0.5814 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.3196, allocations: 232.2 kB / 0.5816 GB, free: 20.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.3202, allocations: 0.5946 MB / 0.5822 GB, free: 20.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009491/0.3211, allocations: 0.5545 MB / 0.5827 GB, free: 20.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3211, allocations: 1.125 kB / 0.5827 GB, free: 20.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002507/0.3236, allocations: 1.036 MB / 0.5838 GB, free: 19.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3236, allocations: 6.562 kB / 0.5838 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3237, allocations: 6.875 kB / 0.5838 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.3249, allocations: 320 kB / 0.5841 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.3254, allocations: 126.5 kB / 0.5842 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006939/0.3324, allocations: 6.724 MB / 0.5908 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.3329, allocations: 77.72 kB / 0.5908 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.333, allocations: 18.94 kB / 0.5909 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005751/0.3335, allocations: 346 kB / 0.5912 GB, free: 13.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004814/0.334, allocations: 0.5573 MB / 0.5917 GB, free: 13.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007345/0.3348, allocations: 0.491 MB / 0.5922 GB, free: 12.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.3348, allocations: 5.344 kB / 0.5922 GB, free: 12.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001407/0.3362, allocations: 0.7351 MB / 0.5929 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3362, allocations: 7.062 kB / 0.5929 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3362, allocations: 3.25 kB / 0.5929 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.3367, allocations: 140.9 kB / 0.5931 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.3374, allocations: 171.9 kB / 0.5932 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.34, allocations: 3.17 MB / 0.5963 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.3405, allocations: 67.2 kB / 0.5964 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3406, allocations: 19.62 kB / 0.5964 GB, free: 9.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.3407, allocations: 220.5 kB / 0.5966 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.3409, allocations: 94.38 kB / 0.5967 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.3411, allocations: 91.53 kB / 0.5968 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3411, allocations: 8.531 kB / 0.5968 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3411, allocations: 1.062 kB / 0.5968 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.3413, allocations: 133.7 kB / 0.5969 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.3414, allocations: 13.34 kB / 0.597 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.3419, allocations: 38.39 kB / 0.597 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.342, allocations: 41.41 kB / 0.597 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001608/0.3436, allocations: 0.9226 MB / 0.5979 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001664/0.3453, allocations: 1.315 MB / 0.5992 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004792/0.3458, allocations: 254.7 kB / 0.5995 GB, free: 7.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.3462, allocations: 446.6 kB / 0.5999 GB, free: 7.777 MB / 446.1 MB Notification: Performance of Backend: time 5.61e-07/0.3462, allocations: 1.25 kB / 0.5999 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.35, allocations: 1.726 MB / 0.6016 GB, free: 6.766 MB / 446.1 MB Notification: Performance of SimCode: time 0.002304/0.3523, allocations: 1.969 MB / 0.6035 GB, free: 5.469 MB / 446.1 MB Notification: Performance of Templates: time 0.02475/0.377, allocations: 17.38 MB / 0.6205 GB, free: 9.172 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.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.4991997629986145]