Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.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.002476/0.002476, allocations: 117.1 kB / 19.13 MB, free: 3.922 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.002525/0.002525, allocations: 210.6 kB / 22.08 MB, free: 0.9727 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.533/1.533, allocations: 227.4 MB / 252.3 MB, free: 272 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 46.18 MB / 351.8 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.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_trunk_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_trunk_ModelicaTest.Blocks.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 77.19 kB / 490.9 MB, free: 27.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1498, allocations: 62.46 MB / 0.5404 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.006045/0.1558, allocations: 4.369 MB / 0.5446 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003413/0.1593, allocations: 1.566 MB / 0.5461 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1599, allocations: 35.81 kB / 0.5462 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.1603, allocations: 162.2 kB / 0.5463 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.1608, allocations: 154.3 kB / 0.5465 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1622, allocations: 0.6009 MB / 0.5471 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1633, allocations: 1.019 MB / 0.5481 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.164, allocations: 443 kB / 0.5485 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.1644, allocations: 366.2 kB / 0.5488 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.1648, allocations: 389.7 kB / 0.5492 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.165, allocations: 84 kB / 0.5493 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1651, allocations: 88 kB / 0.5494 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.1653, allocations: 203.2 kB / 0.5496 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.1657, allocations: 441.2 kB / 0.55 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1668, allocations: 1.027 MB / 0.551 GB, free: 9.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1668, allocations: 3.938 kB / 0.551 GB, free: 9.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1668, allocations: 0 / 0.551 GB, free: 9.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1668, allocations: 4 kB / 0.551 GB, free: 9.297 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002121/0.1689, allocations: 1.319 MB / 0.5523 GB, free: 7.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.169, allocations: 8.031 kB / 0.5523 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1692, allocations: 120.2 kB / 0.5524 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.1701, allocations: 0.6756 MB / 0.5531 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.1701, allocations: 45.69 kB / 0.5531 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.1703, allocations: 64.38 kB / 0.5532 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1716, allocations: 0.7698 MB / 0.5539 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.1716, allocations: 7.984 kB / 0.5539 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.916e-05/0.1717, allocations: 24 kB / 0.554 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1717, allocations: 16 kB / 0.554 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.173, allocations: 0.5461 MB / 0.5545 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.1765, allocations: 2.718 MB / 0.5572 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1779, allocations: 0.6631 MB / 0.5578 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.1785, allocations: 279.4 kB / 0.5581 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.1786, allocations: 11.98 kB / 0.5581 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1786, allocations: 38.56 kB / 0.5581 GB, free: 1.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 4.378e-06/0.1786, allocations: 4 kB / 0.5581 GB, free: 1.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.001936/0.1806, allocations: 0.7995 MB / 0.5589 GB, free: 0.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/0.1808, allocations: 342.1 kB / 0.5592 GB, free: 472 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.1816, allocations: 0.7007 MB / 0.5599 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.1817, allocations: 41.64 kB / 0.56 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.182, allocations: 440.9 kB / 0.5604 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.1822, allocations: 194.3 kB / 0.5606 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.1824, allocations: 106.2 kB / 0.5607 GB, free: 14.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1826, allocations: 337.8 kB / 0.561 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.1831, allocations: 227 kB / 0.5612 GB, free: 14.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.1838, allocations: 395.4 kB / 0.5616 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.185, allocations: 0.554 MB / 0.5621 GB, free: 13.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.185, allocations: 0 / 0.5621 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002772/0.1878, allocations: 1.046 MB / 0.5631 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1878, allocations: 8 kB / 0.5631 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.1878, allocations: 0 / 0.5631 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.1891, allocations: 319.4 kB / 0.5635 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.1897, allocations: 135.7 kB / 0.5636 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009836/0.1996, allocations: 7.269 MB / 0.5707 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/0.2004, allocations: 91.52 kB / 0.5708 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.2005, allocations: 24 kB / 0.5708 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000821/0.2013, allocations: 345.2 kB / 0.5711 GB, free: 3.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006615/0.202, allocations: 351.5 kB / 0.5715 GB, free: 3.141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009698/0.2029, allocations: 0.4924 MB / 0.5719 GB, free: 2.613 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.203, allocations: 0 / 0.5719 GB, free: 2.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001626/0.2046, allocations: 0.7536 MB / 0.5727 GB, free: 1.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2046, allocations: 4 kB / 0.5727 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2046, allocations: 7.938 kB / 0.5727 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.2051, allocations: 137.6 kB / 0.5728 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.2059, allocations: 179.8 kB / 0.573 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003723/0.2096, allocations: 3.431 MB / 0.5763 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.2101, allocations: 75.7 kB / 0.5764 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.2102, allocations: 16 kB / 0.5764 GB, free: 13.73 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.0002318/0.2104, allocations: 208.2 kB / 0.5766 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.2106, allocations: 103.3 kB / 0.5767 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.2108, allocations: 99.16 kB / 0.5768 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2108, allocations: 8 kB / 0.5768 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2108, allocations: 0 / 0.5768 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2108, allocations: 8 kB / 0.5768 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.2119, allocations: 0.7312 MB / 0.5775 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2119, allocations: 0 / 0.5775 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.2125, allocations: 111.8 kB / 0.5777 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2125, allocations: 7.938 kB / 0.5777 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.2125, allocations: 8 kB / 0.5777 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2125, allocations: 7.938 kB / 0.5777 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2125, allocations: 0 / 0.5777 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2145, allocations: 1.21 MB / 0.5789 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.2147, allocations: 224.2 kB / 0.5791 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.2148, allocations: 12 kB / 0.5791 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.2153, allocations: 47.95 kB / 0.5791 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.2154, allocations: 35.95 kB / 0.5792 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.2154, allocations: 12 kB / 0.5792 GB, free: 10.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000553/0.216, allocations: 487 kB / 0.5796 GB, free: 10.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.216, allocations: 0 / 0.5796 GB, free: 10.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000964/0.217, allocations: 283.3 kB / 0.5799 GB, free: 10.07 MB / 446.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.0001508/0.2171, allocations: 115.1 kB / 0.58 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004083/0.2212, allocations: 1.872 MB / 0.5818 GB, free: 8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2212, allocations: 0 / 0.5818 GB, free: 8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.2218, allocations: 285.6 kB / 0.5821 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.2231, allocations: 243.7 kB / 0.5824 GB, free: 7.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.2258, allocations: 1.546 MB / 0.5839 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.2264, allocations: 0.9809 MB / 0.5848 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2266, allocations: 51.44 kB / 0.5849 GB, free: 4.84 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2266, allocations: 0 / 0.5849 GB, free: 4.84 MB / 446.1 MB Notification: Performance of Templates: time 0.02225/0.2488, allocations: 17.15 MB / 0.6016 GB, free: 3.707 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.864589376025833]