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.001263/0.001263, allocations: 105.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 191.3 kB / 17.2 MB, free: 5.574 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.569/1.569, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2403/0.2403, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.001691/0.001691, allocations: 69.61 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1721, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.007647/0.1799, allocations: 4.395 MB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.1841, allocations: 1.594 MB / 446.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008408/0.1849, allocations: 39.81 kB / 446.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.1856, allocations: 162.2 kB / 446.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006429/0.1863, allocations: 178.2 kB / 446.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.1884, allocations: 0.5836 MB / 447.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.19, allocations: 1.035 MB / 448.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009524/0.191, allocations: 443.4 kB / 448.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.1916, allocations: 370.2 kB / 449.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/0.1922, allocations: 393.6 kB / 449.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.1924, allocations: 88 kB / 449.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1926, allocations: 84 kB / 449.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.1929, allocations: 199.2 kB / 450 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000551/0.1935, allocations: 445.2 kB / 450.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.1948, allocations: 1 MB / 451.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1948, allocations: 4 kB / 451.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1948, allocations: 0 / 451.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1949, allocations: 0 / 451.5 MB, free: 11.87 MB / 334.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.003011/0.1979, allocations: 1.304 MB / 452.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.198, allocations: 8.031 kB / 452.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.1983, allocations: 127.4 kB / 452.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.1995, allocations: 0.6397 MB / 453.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.1996, allocations: 53.62 kB / 453.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.1998, allocations: 68.36 kB / 453.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.2017, allocations: 0.7392 MB / 454.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.2017, allocations: 3.938 kB / 454.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/0.2018, allocations: 28 kB / 454.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.2018, allocations: 16 kB / 454.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.2036, allocations: 0.5498 MB / 455 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.2089, allocations: 2.725 MB / 457.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.211, allocations: 0.6709 MB / 458.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.2118, allocations: 279.4 kB / 458.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/0.2119, allocations: 15.92 kB / 458.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.212, allocations: 38.56 kB / 458.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 7.163e-06/0.212, allocations: 0 / 458.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.002808/0.2148, allocations: 0.7967 MB / 459.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.215, allocations: 247.3 kB / 459.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.2162, allocations: 0.7087 MB / 460.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.2163, allocations: 37.7 kB / 460.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.2168, allocations: 452.3 kB / 461 MB, free: 2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.217, allocations: 181.3 kB / 461.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.2173, allocations: 102.2 kB / 461.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2175, allocations: 326 kB / 461.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/0.2182, allocations: 231 kB / 461.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.2192, allocations: 372 kB / 462.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.2208, allocations: 0.5524 MB / 462.7 MB, free: 164 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.2209, allocations: 4 kB / 462.7 MB, free: 160 kB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004024/0.2249, allocations: 1.038 MB / 463.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.225, allocations: 8 kB / 463.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.225, allocations: 8.266 kB / 463.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.2268, allocations: 323.1 kB / 464.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.2276, allocations: 123.9 kB / 464.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.2405, allocations: 7.267 MB / 471.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.2419, allocations: 83.36 kB / 471.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.242, allocations: 20 kB / 471.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/0.2432, allocations: 353.2 kB / 471.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007117/0.2439, allocations: 328 kB / 472.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/0.2451, allocations: 0.4932 MB / 472.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.2451, allocations: 4 kB / 472.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002245/0.2474, allocations: 0.7433 MB / 473.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2474, allocations: 4.625 kB / 473.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2474, allocations: 4 kB / 473.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.2481, allocations: 137.9 kB / 473.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.2489, allocations: 171.8 kB / 473.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.253, allocations: 3.434 MB / 477.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.2536, allocations: 59.84 kB / 477.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.2536, allocations: 24.06 kB / 477.3 MB, free: 0.5898 MB / 350.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.0002872/0.2539, allocations: 228 kB / 477.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.2542, allocations: 94.88 kB / 477.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.2545, allocations: 95.39 kB / 477.7 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2545, allocations: 8 kB / 477.7 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2545, allocations: 0 / 477.7 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2545, allocations: 3.984 kB / 477.7 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.2561, allocations: 0.7428 MB / 478.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.2561, allocations: 0 / 478.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.2567, allocations: 115.8 kB / 478.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2567, allocations: 0 / 478.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.2567, allocations: 8 kB / 478.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2567, allocations: 4 kB / 478.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2567, allocations: 0 / 478.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.2588, allocations: 1.227 MB / 479.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.2591, allocations: 211.8 kB / 480 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2593, allocations: 12 kB / 480 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.2598, allocations: 47.95 kB / 480.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.26, allocations: 31.89 kB / 480.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.26, allocations: 16 kB / 480.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.2607, allocations: 495 kB / 480.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2607, allocations: 0 / 480.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001431/0.2622, allocations: 283.1 kB / 480.9 MB, free: 12.91 MB / 366.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 (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.0001756/0.2623, allocations: 111.1 kB / 481 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004387/0.2667, allocations: 1.905 MB / 482.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.2668, allocations: 0 / 482.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.2674, allocations: 287.6 kB / 483.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.2692, allocations: 240.9 kB / 483.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.2731, allocations: 1.54 MB / 484.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000825/0.274, allocations: 0.9848 MB / 485.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000506/0.2745, allocations: 93.3 kB / 486 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2747, allocations: 51.44 kB / 486.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2747, allocations: 0 / 486.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of Templates: time 0.02912/0.3038, allocations: 12.2 MB / 498.3 MB, free: 11.4 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches