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.00147/0.00147, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001635/0.001635, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9885/0.9885, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.3072/0.3072, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 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 2.034e-06/2.034e-06, allocations: 0 / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.564e-05, allocations: 4.984 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.00382/0.003845, allocations: 4.001 MB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.006205, allocations: 1.581 MB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.00673, allocations: 43.62 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.007029, allocations: 162.2 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.0074, allocations: 182.2 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.008343, allocations: 0.5966 MB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000904/0.009247, allocations: 1.035 MB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.009631, allocations: 291.6 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.01009, allocations: 0.5298 MB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.01038, allocations: 267 kB / 387.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.01051, allocations: 88 kB / 387.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.01061, allocations: 84 kB / 387.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.01073, allocations: 203.1 kB / 387.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.0109, allocations: 263.1 kB / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.01147, allocations: 0.6573 MB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01148, allocations: 0 / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01148, allocations: 0 / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.01149, allocations: 0 / 388.7 MB, free: 8.102 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.001252/0.01274, allocations: 1.32 MB / 390 MB, free: 6.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.01278, allocations: 8.031 kB / 390 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.01295, allocations: 172.2 kB / 390.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.01357, allocations: 0.6239 MB / 390.8 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.0136, allocations: 45.69 kB / 390.9 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.01367, allocations: 72.33 kB / 390.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.01444, allocations: 0.8622 MB / 391.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01445, allocations: 4 kB / 391.8 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.01449, allocations: 24 kB / 391.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.0145, allocations: 16 kB / 391.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.01487, allocations: 248.6 kB / 392.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.01697, allocations: 2.919 MB / 395 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.01751, allocations: 405.2 kB / 395.4 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.01768, allocations: 142.7 kB / 395.5 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.01771, allocations: 19.94 kB / 395.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.01774, allocations: 49.33 kB / 395.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/0.01774, allocations: 0 / 395.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0006591/0.0184, allocations: 447.3 kB / 396.1 MB, free: 376 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.01853, allocations: 350.1 kB / 396.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.019, allocations: 0.6479 MB / 397 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.01904, allocations: 37.7 kB / 397.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.01928, allocations: 479.5 kB / 397.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.01937, allocations: 198.3 kB / 397.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01949, allocations: 115.9 kB / 397.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.0196, allocations: 0.4926 MB / 398.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.01975, allocations: 98.23 kB / 398.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.02006, allocations: 0.4897 MB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.02043, allocations: 336.2 kB / 399.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.02044, allocations: 7.938 kB / 399.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001024/0.02146, allocations: 0.6718 MB / 399.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.02148, allocations: 8 kB / 399.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.02149, allocations: 0 / 399.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006992/0.02219, allocations: 258.7 kB / 400.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.02248, allocations: 127.9 kB / 400.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004855/0.02733, allocations: 7.775 MB / 408.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.02761, allocations: 71.59 kB / 408.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.02763, allocations: 20 kB / 408.2 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002568/0.02789, allocations: 220.1 kB / 408.4 MB, free: 3.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000454/0.02834, allocations: 497.5 kB / 408.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000344/0.02869, allocations: 336.7 kB / 409.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.02869, allocations: 7.938 kB / 409.2 MB, free: 2.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0006676/0.02936, allocations: 0.5262 MB / 409.8 MB, free: 1.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.02937, allocations: 4 kB / 409.8 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.02938, allocations: 4 kB / 409.8 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.02965, allocations: 115.5 kB / 409.9 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.03001, allocations: 167.8 kB / 410 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.03192, allocations: 3.837 MB / 413.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.03217, allocations: 55.72 kB / 413.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.03219, allocations: 24 kB / 414 MB, free: 13.16 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.0001921/0.03239, allocations: 303.9 kB / 414.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.03252, allocations: 115.4 kB / 414.4 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.813e-05/0.0326, allocations: 90.48 kB / 414.4 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.03261, allocations: 8.031 kB / 414.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.03261, allocations: 7.984 kB / 414.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.03262, allocations: 0 / 414.5 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.03318, allocations: 0.4961 MB / 415 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.03318, allocations: 4 kB / 415 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.03345, allocations: 99.88 kB / 415.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.03345, allocations: 3.938 kB / 415.1 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.03347, allocations: 12 kB / 415.1 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.03348, allocations: 4 kB / 415.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03348, allocations: 0 / 415.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.0344, allocations: 0.9732 MB / 416.1 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.03455, allocations: 135.2 kB / 416.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.03459, allocations: 16 kB / 416.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.03481, allocations: 27.97 kB / 416.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.0349, allocations: 35.94 kB / 416.3 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.03491, allocations: 16 kB / 416.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.03522, allocations: 422.9 kB / 416.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03522, allocations: 0 / 416.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007268/0.03595, allocations: 303.1 kB / 417 MB, free: 10.05 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.0001171/0.03606, allocations: 111.2 kB / 417.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.03791, allocations: 1.773 MB / 418.9 MB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.03792, allocations: 0 / 418.9 MB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.03811, allocations: 155.4 kB / 419 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008009/0.03891, allocations: 254.9 kB / 419.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.04064, allocations: 1.382 MB / 420.7 MB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.04078, allocations: 166.9 kB / 420.8 MB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.04104, allocations: 88.91 kB / 420.9 MB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.04115, allocations: 48.5 kB / 421 MB, free: 5.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.794e-06/0.04116, allocations: 0 / 421 MB, free: 5.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01693/0.05809, allocations: 13.25 MB / 434.2 MB, free: 8.801 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 240] 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","",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.872233185917139]