Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 96.36 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008981/0.0008983, allocations: 173.2 kB / 16.56 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2704/0.2704, allocations: 43.55 MB / 314.5 MB, free: 8.734 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004765, allocations: 16 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.09001, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003679/0.09372, allocations: 3.725 MB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.0957, allocations: 1.497 MB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.09601, allocations: 31.81 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.09613, allocations: 71.11 kB / 448.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.0967, allocations: 239.2 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.09753, allocations: 495.1 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.09825, allocations: 0.6456 MB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.09864, allocations: 306.5 kB / 449.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.09887, allocations: 258.5 kB / 450 MB, free: 5.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.09914, allocations: 290.1 kB / 450.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.0992, allocations: 20 kB / 450.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.09926, allocations: 24 kB / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.09936, allocations: 119.3 kB / 450.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.09947, allocations: 161.1 kB / 450.6 MB, free: 5.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.1, allocations: 0.7133 MB / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1, allocations: 0 / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1, allocations: 7.984 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1, allocations: 0 / 451.3 MB, free: 4.457 MB / 382.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.001593/0.1016, allocations: 1.16 MB / 452.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1017, allocations: 8.031 kB / 452.5 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1018, allocations: 126.5 kB / 452.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.1026, allocations: 0.6079 MB / 453.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.1026, allocations: 49.31 kB / 453.3 MB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.1027, allocations: 63.98 kB / 453.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1039, allocations: 0.7585 MB / 454.1 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1039, allocations: 3.938 kB / 454.1 MB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.1039, allocations: 28 kB / 454.1 MB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.104, allocations: 16 kB / 454.1 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1051, allocations: 0.593 MB / 454.7 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1489/0.254, allocations: 2.735 MB / 457.4 MB, free: 44.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.2553, allocations: 0.7417 MB / 458.2 MB, free: 44.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.2554, allocations: 10.64 kB / 458.2 MB, free: 44.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.2554, allocations: 47.97 kB / 458.2 MB, free: 44.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.395e-06/0.2554, allocations: 0 / 458.2 MB, free: 44.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.001541/0.257, allocations: 0.8733 MB / 459.1 MB, free: 44.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.257, allocations: 237.1 kB / 459.4 MB, free: 44.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.2576, allocations: 0.7085 MB / 460.1 MB, free: 44.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.2576, allocations: 35.73 kB / 460.1 MB, free: 44.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.2578, allocations: 439.4 kB / 460.5 MB, free: 43.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.205e-05/0.2579, allocations: 183.9 kB / 460.7 MB, free: 43.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.258, allocations: 12.09 kB / 460.7 MB, free: 43.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.258, allocations: 327.4 kB / 461 MB, free: 43.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.2585, allocations: 242.8 kB / 461.3 MB, free: 43.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.259, allocations: 392.2 kB / 461.7 MB, free: 43.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.2594, allocations: 271.4 kB / 461.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2594, allocations: 2.969 kB / 461.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002292/0.2617, allocations: 1.154 MB / 463.1 MB, free: 43.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.2619, allocations: 1.143 MB / 464.2 MB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2619, allocations: 6.391 kB / 464.2 MB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.263, allocations: 360.2 kB / 464.6 MB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.2635, allocations: 132.6 kB / 464.7 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.2702, allocations: 7.19 MB / 471.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.2706, allocations: 90.23 kB / 472 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.2707, allocations: 19.88 kB / 472 MB, free: 36.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.2707, allocations: 11.11 kB / 472 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/0.2719, allocations: 0.6708 MB / 472.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2719, allocations: 3.094 kB / 472.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.2723, allocations: 148.9 kB / 472.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.273, allocations: 179.8 kB / 473 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.2754, allocations: 3.307 MB / 476.3 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.2757, allocations: 72.53 kB / 476.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.2758, allocations: 19.75 kB / 476.4 MB, free: 33.67 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.276, allocations: 289.4 kB / 476.7 MB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.2762, allocations: 94.92 kB / 476.8 MB, free: 33.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.2763, allocations: 101.2 kB / 476.9 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2763, allocations: 6.469 kB / 476.9 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2763, allocations: 3.344 kB / 476.9 MB, free: 33.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.2764, allocations: 7.984 kB / 476.9 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.2771, allocations: 0.7362 MB / 477.6 MB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2771, allocations: 8.125 kB / 477.6 MB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.2776, allocations: 120.9 kB / 477.8 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2777, allocations: 3.312 kB / 477.8 MB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.2777, allocations: 15.19 kB / 477.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2777, allocations: 6.016 kB / 477.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2777, allocations: 4.375 kB / 477.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.2792, allocations: 1.308 MB / 479.1 MB, free: 32.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.2794, allocations: 219.6 kB / 479.3 MB, free: 31.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.2795, allocations: 14.83 kB / 479.3 MB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.2799, allocations: 55.83 kB / 479.4 MB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.28, allocations: 33.72 kB / 479.4 MB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.2801, allocations: 17.64 kB / 479.4 MB, free: 31.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003912/0.2805, allocations: 488.3 kB / 479.9 MB, free: 31.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2805, allocations: 4 kB / 479.9 MB, free: 31.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007758/0.2812, allocations: 278.4 kB / 480.2 MB, free: 31.63 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.139e-05/0.2813, allocations: 111.1 kB / 480.3 MB, free: 31.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.2846, allocations: 2.016 MB / 482.3 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2846, allocations: 3.25 kB / 482.3 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.2851, allocations: 303 kB / 482.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.286, allocations: 200.9 kB / 482.8 MB, free: 30.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.2879, allocations: 1.792 MB / 484.6 MB, free: 29.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2882, allocations: 1.016 MB / 485.6 MB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.2885, allocations: 93.03 kB / 485.7 MB, free: 28.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.2887, allocations: 50.25 kB / 485.7 MB, free: 28.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2887, allocations: 0 / 485.7 MB, free: 28.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01788/0.3066, allocations: 10.93 MB / 496.7 MB, free: 27.83 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches