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.001356/0.001356, allocations: 110.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 79.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3467, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005463/0.3522, allocations: 4.36 MB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.3555, allocations: 1.575 MB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.3561, allocations: 34.41 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.3565, allocations: 160.4 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.3569, allocations: 160.9 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3581, allocations: 0.5985 MB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.3592, allocations: 1.022 MB / 0.5394 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00062/0.3598, allocations: 446.5 kB / 0.5398 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.3602, allocations: 361.5 kB / 0.5401 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.3606, allocations: 384 kB / 0.5405 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.3607, allocations: 90.91 kB / 0.5406 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3609, allocations: 85.84 kB / 0.5407 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.361, allocations: 201.3 kB / 0.5409 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.3614, allocations: 435.6 kB / 0.5413 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3624, allocations: 1.027 MB / 0.5423 GB, free: 5.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3625, allocations: 4 kB / 0.5423 GB, free: 5.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3625, allocations: 7.875 kB / 0.5423 GB, free: 5.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3625, allocations: 0 / 0.5423 GB, free: 5.246 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.002084/0.3646, allocations: 1.289 MB / 0.5436 GB, free: 4.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3646, allocations: 9.812 kB / 0.5436 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.3648, allocations: 115.6 kB / 0.5437 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.3658, allocations: 0.6497 MB / 0.5443 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.3659, allocations: 51.25 kB / 0.5444 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.366, allocations: 66.28 kB / 0.5444 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.3672, allocations: 0.7724 MB / 0.5452 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3672, allocations: 9.062 kB / 0.5452 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.3673, allocations: 26.41 kB / 0.5452 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.3673, allocations: 16.09 kB / 0.5452 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3685, allocations: 0.5426 MB / 0.5458 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.3718, allocations: 2.709 MB / 0.5484 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3731, allocations: 0.6633 MB / 0.5491 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.3736, allocations: 287.2 kB / 0.5493 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.3736, allocations: 8 kB / 0.5493 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3737, allocations: 38.56 kB / 0.5494 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 2.013e-06/0.3737, allocations: 0 / 0.5494 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.001604/0.3753, allocations: 0.7965 MB / 0.5501 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.3754, allocations: 350.1 kB / 0.5505 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.3762, allocations: 0.7006 MB / 0.5512 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.3762, allocations: 37.7 kB / 0.5512 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.3765, allocations: 432.5 kB / 0.5516 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.3767, allocations: 181.3 kB / 0.5518 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.3769, allocations: 110.1 kB / 0.5519 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.377, allocations: 329.9 kB / 0.5522 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.3775, allocations: 234.9 kB / 0.5524 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.378, allocations: 391.5 kB / 0.5528 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3791, allocations: 0.5592 MB / 0.5534 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3791, allocations: 4 kB / 0.5534 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002465/0.3816, allocations: 1.038 MB / 0.5544 GB, free: 9.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3816, allocations: 14.28 kB / 0.5544 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3816, allocations: 4 kB / 0.5544 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.3827, allocations: 323.2 kB / 0.5547 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.3833, allocations: 123.9 kB / 0.5548 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008131/0.3914, allocations: 7.264 MB / 0.5619 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.3921, allocations: 87.36 kB / 0.562 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.3922, allocations: 20 kB / 0.562 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006019/0.3928, allocations: 345.2 kB / 0.5623 GB, free: 1.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004573/0.3932, allocations: 359.5 kB / 0.5627 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007512/0.394, allocations: 0.4939 MB / 0.5632 GB, free: 216 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.394, allocations: 0 / 0.5632 GB, free: 216 kB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001453/0.3955, allocations: 0.7431 MB / 0.5639 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.3955, allocations: 8 kB / 0.5639 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3955, allocations: 160 / 0.5639 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.396, allocations: 141.9 kB / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.3967, allocations: 175.9 kB / 0.5642 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.4002, allocations: 3.438 MB / 0.5676 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.4008, allocations: 59.66 kB / 0.5676 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.4008, allocations: 20 kB / 0.5676 GB, free: 11.34 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.0003034/0.4011, allocations: 228.1 kB / 0.5678 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.4013, allocations: 90.88 kB / 0.5679 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.4015, allocations: 99.09 kB / 0.568 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4015, allocations: 3.984 kB / 0.568 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4016, allocations: 0 / 0.568 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.4018, allocations: 211.8 kB / 0.5682 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.4019, allocations: 12 kB / 0.5682 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.4024, allocations: 47.95 kB / 0.5683 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.4025, allocations: 27.97 kB / 0.5683 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001618/0.4041, allocations: 0.9389 MB / 0.5692 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001814/0.4059, allocations: 1.302 MB / 0.5705 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004776/0.4064, allocations: 275.8 kB / 0.5708 GB, free: 8.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005496/0.407, allocations: 490.9 kB / 0.5712 GB, free: 7.602 MB / 430.1 MB Notification: Performance of Backend: time 6.11e-07/0.407, allocations: 0 / 0.5712 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.411, allocations: 1.755 MB / 0.573 GB, free: 5.766 MB / 430.1 MB Notification: Performance of SimCode: time 0.002954/0.4139, allocations: 1.967 MB / 0.5749 GB, free: 3.762 MB / 430.1 MB Notification: Performance of Templates: time 0.02713/0.4411, allocations: 15.87 MB / 0.5904 GB, free: 3.945 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches