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.001366/0.001366, allocations: 67.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001583/0.001583, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 18.57 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2793/0.2793, allocations: 34.25 MB / 296 MB, free: 0.7617 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.155e-05, allocations: 5.406 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004497/0.004529, allocations: 3.985 MB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.00713, allocations: 1.577 MB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.00761, allocations: 47.62 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.007902, allocations: 166.2 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.008193, allocations: 178.2 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.009119, allocations: 0.5927 MB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009413/0.01006, allocations: 1.042 MB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.01042, allocations: 291.6 kB / 385.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.01084, allocations: 0.5182 MB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.01105, allocations: 275 kB / 386.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.79e-05/0.01113, allocations: 87.94 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.0112, allocations: 88 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.01129, allocations: 199.1 kB / 387 MB, free: 9.898 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.01145, allocations: 259.1 kB / 387.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.01196, allocations: 0.6573 MB / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.01196, allocations: 0 / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01196, allocations: 0 / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.01197, allocations: 0 / 387.9 MB, free: 8.984 MB / 362.7 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.001174/0.01315, allocations: 1.32 MB / 389.3 MB, free: 7.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.01318, allocations: 12.02 kB / 389.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.01335, allocations: 172.2 kB / 389.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.01396, allocations: 0.6239 MB / 390.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.01399, allocations: 49.62 kB / 390.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.01406, allocations: 72.33 kB / 390.2 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.01484, allocations: 0.8661 MB / 391 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01485, allocations: 0 / 391 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.01489, allocations: 28 kB / 391.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.01491, allocations: 16 kB / 391.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.01528, allocations: 247.7 kB / 391.3 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.01732, allocations: 2.907 MB / 394.2 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.01784, allocations: 413.1 kB / 394.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.01801, allocations: 138.7 kB / 394.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.01804, allocations: 19.94 kB / 394.8 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.01807, allocations: 45.33 kB / 394.8 MB, free: 1.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.01807, allocations: 0 / 394.8 MB, free: 1.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006852/0.01876, allocations: 446.2 kB / 395.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.01887, allocations: 354.1 kB / 395.6 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.01934, allocations: 0.6479 MB / 396.3 MB, free: 160 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.01938, allocations: 33.7 kB / 396.3 MB, free: 120 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.01962, allocations: 487.5 kB / 396.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.01972, allocations: 190.3 kB / 397 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.01983, allocations: 115.9 kB / 397.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01994, allocations: 0.5004 MB / 397.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.02009, allocations: 86.27 kB / 397.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.0204, allocations: 0.4975 MB / 398.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.02076, allocations: 336.2 kB / 398.5 MB, free: 13.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.02077, allocations: 11.94 kB / 398.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001017/0.02179, allocations: 0.6717 MB / 399.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.02181, allocations: 9.875 kB / 399.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.02181, allocations: 7.938 kB / 399.2 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.0225, allocations: 254.7 kB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.02278, allocations: 123.9 kB / 399.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/0.02692, allocations: 7.784 MB / 407.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.02718, allocations: 67.59 kB / 407.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.02721, allocations: 20 kB / 407.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002523/0.02746, allocations: 224.1 kB / 407.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002857/0.02775, allocations: 0.4898 MB / 408.1 MB, free: 3.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000347/0.02809, allocations: 334 kB / 408.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.0281, allocations: 0 / 408.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006761/0.02877, allocations: 0.5259 MB / 409 MB, free: 2.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.02878, allocations: 4 kB / 409 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.02879, allocations: 4 kB / 409 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.02906, allocations: 119.5 kB / 409.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.02943, allocations: 167.8 kB / 409.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.03137, allocations: 3.837 MB / 413.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.03163, allocations: 59.72 kB / 413.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.03165, allocations: 16 kB / 413.2 MB, free: 14.04 MB / 394.7 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.0001937/0.03184, allocations: 311.9 kB / 413.5 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.03199, allocations: 107.4 kB / 413.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.03209, allocations: 94.47 kB / 413.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.0321, allocations: 8.031 kB / 413.7 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.0321, allocations: 4 kB / 413.7 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.03211, allocations: 0 / 413.7 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.0328, allocations: 0.4962 MB / 414.2 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.03281, allocations: 3.984 kB / 414.2 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.0331, allocations: 95.89 kB / 414.3 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.0331, allocations: 7.938 kB / 414.3 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.03313, allocations: 15.98 kB / 414.3 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.03314, allocations: 0 / 414.3 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.03314, allocations: 7.938 kB / 414.3 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.03405, allocations: 0.9693 MB / 415.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.03423, allocations: 139.2 kB / 415.4 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.03427, allocations: 12 kB / 415.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.0345, allocations: 35.91 kB / 415.5 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.03457, allocations: 31.94 kB / 415.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.03459, allocations: 16 kB / 415.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003057/0.0349, allocations: 426.9 kB / 415.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0349, allocations: 3.938 kB / 415.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007602/0.03566, allocations: 295.1 kB / 416.2 MB, free: 10.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.0001345/0.03579, allocations: 111.2 kB / 416.3 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.03762, allocations: 1.779 MB / 418.1 MB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.03762, allocations: 0 / 418.1 MB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.03781, allocations: 152.4 kB / 418.3 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.03876, allocations: 245.4 kB / 418.5 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.04033, allocations: 1.379 MB / 419.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.04046, allocations: 166.9 kB / 420.1 MB, free: 6.918 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.0407, allocations: 92.89 kB / 420.1 MB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.04081, allocations: 44.5 kB / 420.2 MB, free: 6.781 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.04081, allocations: 0 / 420.2 MB, free: 6.781 MB / 394.7 MB Notification: Performance of Templates: time 0.01451/0.05532, allocations: 12.63 MB / 432.8 MB, free: 10.32 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.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: 3.859072601888329]