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.0009594/0.0009594, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001012/0.001012, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 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.9448/0.9448, allocations: 177 MB / 205.1 MB, free: 5.473 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.2515/0.2515, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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 1.542e-06/1.542e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.379e-05, allocations: 3.297 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.007133/0.007147, allocations: 3.931 MB / 383.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.009439, allocations: 1.573 MB / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.009846, allocations: 43.69 kB / 384.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.01016, allocations: 170.1 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.0105, allocations: 170.3 kB / 385.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008051/0.01131, allocations: 0.5965 MB / 385.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009689/0.01228, allocations: 1.042 MB / 386.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.01262, allocations: 283.7 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.01306, allocations: 0.5259 MB / 387.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.01331, allocations: 275 kB / 387.8 MB, free: 9.164 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.01344, allocations: 88 kB / 387.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.01355, allocations: 84 kB / 388 MB, free: 8.996 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01367, allocations: 207.1 kB / 388.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.01389, allocations: 263.1 kB / 388.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.01443, allocations: 0.6573 MB / 389.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.01443, allocations: 0 / 389.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.01443, allocations: 0 / 389.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01444, allocations: 0 / 389.1 MB, free: 7.875 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.001064/0.0155, allocations: 1.328 MB / 390.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.01554, allocations: 12.03 kB / 390.4 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.01568, allocations: 168.2 kB / 390.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.01623, allocations: 0.62 MB / 391.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.01626, allocations: 45.69 kB / 391.3 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.01633, allocations: 72.33 kB / 391.3 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.01696, allocations: 0.8347 MB / 392.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01697, allocations: 0 / 392.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.01701, allocations: 28 kB / 392.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.01702, allocations: 16 kB / 392.2 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.01726, allocations: 193.2 kB / 392.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.01945, allocations: 2.806 MB / 395.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.01987, allocations: 384.2 kB / 395.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01999, allocations: 126.7 kB / 395.7 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.02002, allocations: 12 kB / 395.7 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.02005, allocations: 45.33 kB / 395.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.583e-06/0.02005, allocations: 0 / 395.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005066/0.02056, allocations: 403.9 kB / 396.2 MB, free: 440 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.02065, allocations: 346.1 kB / 396.5 MB, free: 12 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.02104, allocations: 0.6435 MB / 397.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.02107, allocations: 33.7 kB / 397.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.0213, allocations: 491.4 kB / 397.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.0214, allocations: 190.3 kB / 397.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.0215, allocations: 127.8 kB / 398 MB, free: 14.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.02161, allocations: 0.4926 MB / 398.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.0217, allocations: 70.25 kB / 398.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.02194, allocations: 485.5 kB / 399 MB, free: 13.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.0222, allocations: 309.9 kB / 399.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02221, allocations: 4 kB / 399.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008311/0.02304, allocations: 0.6265 MB / 399.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.02305, allocations: 8 kB / 399.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.02306, allocations: 4 kB / 399.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/0.02364, allocations: 262.8 kB / 400.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.02388, allocations: 123.8 kB / 400.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/0.02775, allocations: 7.637 MB / 408 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.02794, allocations: 75.53 kB / 408 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.02796, allocations: 16 kB / 408 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001667/0.02813, allocations: 196.1 kB / 408.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002192/0.02835, allocations: 489.4 kB / 408.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002378/0.02859, allocations: 311.1 kB / 409 MB, free: 2.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.02859, allocations: 3.938 kB / 409 MB, free: 2.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004976/0.02909, allocations: 482.8 kB / 409.5 MB, free: 2.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.076e-06/0.02909, allocations: 8 kB / 409.5 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.0291, allocations: 0 / 409.5 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.02932, allocations: 127.5 kB / 409.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.02964, allocations: 159.8 kB / 409.8 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.03115, allocations: 3.767 MB / 413.6 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.03135, allocations: 67.7 kB / 413.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.03137, allocations: 12.19 kB / 413.6 MB, free: 13.71 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 (PID1.I.local_reset,PID2.I.local_reset,PID3.I.local_reset,PID4.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.0001212/0.03149, allocations: 307.9 kB / 413.9 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.0316, allocations: 107.4 kB / 414 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.03167, allocations: 98.5 kB / 414.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.03167, allocations: 8 kB / 414.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.03167, allocations: 0 / 414.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.03168, allocations: 3.984 kB / 414.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.03211, allocations: 412.5 kB / 414.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.03211, allocations: 0 / 414.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.0326, allocations: 103.8 kB / 414.6 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.0326, allocations: 4 kB / 414.6 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.03262, allocations: 12 kB / 414.7 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.03263, allocations: 0 / 414.7 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.03263, allocations: 8 kB / 414.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.03318, allocations: 0.9335 MB / 415.6 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.03332, allocations: 127.2 kB / 415.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.03336, allocations: 12 kB / 415.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.03357, allocations: 35.97 kB / 415.8 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.03362, allocations: 31.94 kB / 415.8 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.03363, allocations: 12 kB / 415.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.03384, allocations: 402.8 kB / 416.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03384, allocations: 4 kB / 416.2 MB, free: 11.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000577/0.03442, allocations: 295.1 kB / 416.5 MB, free: 10.77 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 8.823e-05/0.03451, allocations: 111.1 kB / 416.6 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.03591, allocations: 1.726 MB / 418.3 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.03591, allocations: 4 kB / 418.3 MB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.03605, allocations: 136.4 kB / 418.5 MB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.03674, allocations: 251.5 kB / 418.7 MB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.03805, allocations: 1.362 MB / 420.1 MB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.03817, allocations: 166.9 kB / 420.2 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.03838, allocations: 84.92 kB / 420.3 MB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.03874, allocations: 270 kB / 420.6 MB, free: 6.5 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03874, allocations: 0 / 420.6 MB, free: 6.5 MB / 394.7 MB Notification: Performance of Templates: time 0.01465/0.05339, allocations: 13.48 MB / 434.1 MB, free: 9.199 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.387656196951866]