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.001367/0.001367, allocations: 86.33 kB / 20.68 MB, free: 1.035 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.001492/0.001492, allocations: 158.5 kB / 23.95 MB, free: 4.164 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.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 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.2151/0.2151, allocations: 34.26 MB / 294.8 MB, free: 14.52 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 1.413e-06/1.413e-06, allocations: 0 / 442.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.732e-05, allocations: 6.281 kB / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005449/0.005476, allocations: 3.875 MB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2384/0.2439, allocations: 1.551 MB / 448.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2451, allocations: 44.84 kB / 448.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.2457, allocations: 157.3 kB / 448.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.2462, allocations: 175 kB / 448.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.2475, allocations: 0.6087 MB / 449 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2487, allocations: 1.043 MB / 450.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.2492, allocations: 286.9 kB / 450.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.2499, allocations: 0.525 MB / 450.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.2503, allocations: 269 kB / 451.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.2504, allocations: 85.91 kB / 451.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2505, allocations: 87.12 kB / 451.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2507, allocations: 203.3 kB / 451.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.251, allocations: 256.8 kB / 451.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2523, allocations: 1.049 MB / 452.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2523, allocations: 0.7031 kB / 452.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2523, allocations: 0 / 452.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.2523, allocations: 1.375 kB / 452.8 MB, free: 14.02 MB / 366.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.002261/0.2546, allocations: 1.236 MB / 454.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.2546, allocations: 8.75 kB / 454.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.2548, allocations: 126.5 kB / 454.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2559, allocations: 0.5848 MB / 454.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.256, allocations: 47.69 kB / 454.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2561, allocations: 70.78 kB / 454.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.2576, allocations: 0.969 MB / 455.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2576, allocations: 6.266 kB / 455.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.2577, allocations: 26.75 kB / 455.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.2577, allocations: 15.97 kB / 455.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.2591, allocations: 0.5474 MB / 456.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/0.2625, allocations: 2.379 MB / 458.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.264, allocations: 0.6471 MB / 459.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.2646, allocations: 271.1 kB / 459.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.2646, allocations: 8.328 kB / 459.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2647, allocations: 45.22 kB / 459.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.365e-06/0.2647, allocations: 4 kB / 459.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.002068/0.2667, allocations: 0.7977 MB / 460.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.2669, allocations: 347.8 kB / 460.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.2677, allocations: 0.6413 MB / 461.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.2678, allocations: 40.17 kB / 461.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.2681, allocations: 441.2 kB / 462.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2682, allocations: 187.8 kB / 462.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.2684, allocations: 109.1 kB / 462.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.2685, allocations: 326.2 kB / 462.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.2691, allocations: 232.8 kB / 462.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007361/0.2698, allocations: 0.5845 MB / 463.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2711, allocations: 0.5611 MB / 464 MB, free: 6.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2711, allocations: 1.656 kB / 464 MB, free: 6.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002996/0.2741, allocations: 1.041 MB / 465.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.2741, allocations: 8.688 kB / 465.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2741, allocations: 3.469 kB / 465.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.2755, allocations: 324.9 kB / 465.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.2761, allocations: 123.2 kB / 465.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008792/0.2849, allocations: 6.715 MB / 472.2 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.2856, allocations: 82 kB / 472.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.2857, allocations: 21.45 kB / 472.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007642/0.2865, allocations: 344.5 kB / 472.7 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005532/0.287, allocations: 0.55 MB / 473.2 MB, free: 264 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008745/0.2879, allocations: 0.4963 MB / 473.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.2879, allocations: 1.219 kB / 473.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00182/0.2897, allocations: 0.7346 MB / 474.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2897, allocations: 5.719 kB / 474.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2897, allocations: 7.469 kB / 474.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.2903, allocations: 147.2 kB / 474.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.2911, allocations: 170.5 kB / 474.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.2955, allocations: 3.163 MB / 477.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.2962, allocations: 74.39 kB / 478 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.2962, allocations: 19.25 kB / 478 MB, free: 12.8 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 (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.0003187/0.2965, allocations: 217 kB / 478.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.2968, allocations: 95.62 kB / 478.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.297, allocations: 92.14 kB / 478.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.297, allocations: 5.906 kB / 478.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.297, allocations: 1.094 kB / 478.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.297, allocations: 2.828 kB / 478.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.298, allocations: 0.5388 MB / 479 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2981, allocations: 1.156 kB / 479 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.2986, allocations: 105.4 kB / 479.1 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2986, allocations: 2.406 kB / 479.1 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.2987, allocations: 16.62 kB / 479.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.2987, allocations: 6.344 kB / 479.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2987, allocations: 3.266 kB / 479.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.3008, allocations: 1.203 MB / 480.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.301, allocations: 139.8 kB / 480.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.3011, allocations: 12.12 kB / 480.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.3016, allocations: 38.77 kB / 480.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3017, allocations: 41.81 kB / 480.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3018, allocations: 13.62 kB / 480.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005462/0.3023, allocations: 447.4 kB / 481 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3023, allocations: 0 / 481 MB, free: 11.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001123/0.3035, allocations: 300 kB / 481.3 MB, free: 11.09 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 (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.0001611/0.3036, allocations: 109.6 kB / 481.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004437/0.308, allocations: 1.835 MB / 483.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3081, allocations: 1.375 kB / 483.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006463/0.3087, allocations: 273.1 kB / 483.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.3101, allocations: 234 kB / 483.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.3134, allocations: 1.481 MB / 485.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3138, allocations: 392 kB / 485.6 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004295/0.3142, allocations: 85.67 kB / 485.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.3144, allocations: 44.5 kB / 485.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3144, allocations: 1.406 kB / 485.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of Templates: time 0.02536/0.3397, allocations: 12.4 MB / 498.1 MB, free: 12.66 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.673106603324413]