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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=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_trunk_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_trunk_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4072, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005312/0.4126, allocations: 4.369 MB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.4159, allocations: 1.582 MB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000558/0.4165, allocations: 34.62 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.4169, allocations: 155.4 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.4173, allocations: 161.7 kB / 0.5371 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.4185, allocations: 0.5916 MB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.4196, allocations: 1.022 MB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.4203, allocations: 441.7 kB / 0.5391 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/0.4207, allocations: 366.7 kB / 0.5395 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.4211, allocations: 388.3 kB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.4213, allocations: 89.31 kB / 0.5399 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.4214, allocations: 87.22 kB / 0.54 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.4216, allocations: 196.9 kB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.4219, allocations: 435.8 kB / 0.5406 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009927/0.4229, allocations: 1.026 MB / 0.5416 GB, free: 5.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4229, allocations: 5.375 kB / 0.5416 GB, free: 5.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4229, allocations: 0 / 0.5416 GB, free: 5.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4229, allocations: 3.938 kB / 0.5416 GB, free: 5.211 MB / 398.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.002108/0.4251, allocations: 1.289 MB / 0.5429 GB, free: 4.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4251, allocations: 9.219 kB / 0.5429 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.4253, allocations: 116.3 kB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.4262, allocations: 0.6491 MB / 0.5436 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.4263, allocations: 47.38 kB / 0.5437 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4264, allocations: 63.28 kB / 0.5437 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.4277, allocations: 0.7759 MB / 0.5445 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4278, allocations: 5.031 kB / 0.5445 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.4278, allocations: 26.78 kB / 0.5445 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.4279, allocations: 16.19 kB / 0.5445 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.4291, allocations: 0.5427 MB / 0.5451 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.4327, allocations: 2.712 MB / 0.5477 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.4341, allocations: 0.6633 MB / 0.5484 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.4346, allocations: 287.2 kB / 0.5486 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.4347, allocations: 7.984 kB / 0.5487 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.4347, allocations: 46.56 kB / 0.5487 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 3.606e-06/0.4348, allocations: 0 / 0.5487 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.001819/0.4366, allocations: 0.7961 MB / 0.5495 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.4368, allocations: 350.1 kB / 0.5498 GB, free: 14.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.4375, allocations: 0.7006 MB / 0.5505 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.4376, allocations: 37.7 kB / 0.5505 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.4379, allocations: 432.5 kB / 0.5509 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.438, allocations: 181.3 kB / 0.5511 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.4382, allocations: 114.1 kB / 0.5512 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4383, allocations: 333.9 kB / 0.5515 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.4388, allocations: 227 kB / 0.5518 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.4395, allocations: 395.4 kB / 0.5521 GB, free: 11.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4406, allocations: 0.5609 MB / 0.5527 GB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4406, allocations: 0 / 0.5527 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002508/0.4431, allocations: 1.033 MB / 0.5537 GB, free: 9.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4431, allocations: 8 kB / 0.5537 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4432, allocations: 8 kB / 0.5537 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.4443, allocations: 323.4 kB / 0.554 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.4449, allocations: 123.9 kB / 0.5541 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008943/0.4538, allocations: 7.268 MB / 0.5612 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.4548, allocations: 87.33 kB / 0.5613 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.4549, allocations: 20 kB / 0.5613 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007942/0.4557, allocations: 345.2 kB / 0.5617 GB, free: 1.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005573/0.4563, allocations: 355.5 kB / 0.562 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008513/0.4571, allocations: 498.4 kB / 0.5625 GB, free: 200 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.4572, allocations: 4 kB / 0.5625 GB, free: 196 kB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001749/0.4589, allocations: 0.7457 MB / 0.5632 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4589, allocations: 8 kB / 0.5632 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4589, allocations: 4 kB / 0.5632 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.4594, allocations: 153.8 kB / 0.5634 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.4601, allocations: 171.8 kB / 0.5635 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.4642, allocations: 3.422 MB / 0.5669 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.4649, allocations: 67.72 kB / 0.5669 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.465, allocations: 20 kB / 0.567 GB, free: 11.32 MB / 430.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.0002801/0.4652, allocations: 220 kB / 0.5672 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.4655, allocations: 94.81 kB / 0.5673 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.4657, allocations: 103.2 kB / 0.5674 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4657, allocations: 4 kB / 0.5674 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4657, allocations: 4 kB / 0.5674 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4657, allocations: 3.984 kB / 0.5674 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.4667, allocations: 0.7273 MB / 0.5681 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4667, allocations: 0 / 0.5681 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.4673, allocations: 111.9 kB / 0.5682 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4673, allocations: 11.88 kB / 0.5682 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4673, allocations: 12 kB / 0.5682 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4674, allocations: 4 kB / 0.5682 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4674, allocations: 4 kB / 0.5682 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4692, allocations: 1.205 MB / 0.5694 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.4695, allocations: 211.9 kB / 0.5696 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.4696, allocations: 24 kB / 0.5696 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.47, allocations: 39.95 kB / 0.5697 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4702, allocations: 31.91 kB / 0.5697 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.4702, allocations: 19.98 kB / 0.5697 GB, free: 8.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005671/0.4708, allocations: 483 kB / 0.5702 GB, free: 7.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4708, allocations: 0 / 0.5702 GB, free: 7.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009869/0.4718, allocations: 283 kB / 0.5704 GB, free: 7.664 MB / 430.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.0001623/0.472, allocations: 115.2 kB / 0.5705 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00395/0.4759, allocations: 1.869 MB / 0.5724 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4759, allocations: 4.078 kB / 0.5724 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.4765, allocations: 275.7 kB / 0.5726 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.4778, allocations: 254.4 kB / 0.5729 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.4802, allocations: 1.472 MB / 0.5743 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.4808, allocations: 0.9886 MB / 0.5753 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.4811, allocations: 89.06 kB / 0.5754 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4813, allocations: 51.44 kB / 0.5754 GB, free: 2.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4813, allocations: 0 / 0.5754 GB, free: 2.43 MB / 430.1 MB Notification: Performance of Templates: time 0.02031/0.5016, allocations: 12.64 MB / 0.5878 GB, free: 5.84 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches