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.001066/0.001066, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2966, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.00519/0.3018, allocations: 4.357 MB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3044, allocations: 1.578 MB / 0.5375 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.3048, allocations: 30.88 kB / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3051, allocations: 159.6 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.3055, allocations: 168.6 kB / 0.5378 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3065, allocations: 0.5984 MB / 0.5384 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009529/0.3075, allocations: 1.029 MB / 0.5394 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.3081, allocations: 438.1 kB / 0.5398 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.3084, allocations: 369.2 kB / 0.5402 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.3088, allocations: 388.7 kB / 0.5405 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3089, allocations: 90.22 kB / 0.5406 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3091, allocations: 86.47 kB / 0.5407 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.3092, allocations: 196.3 kB / 0.5409 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.3095, allocations: 436.4 kB / 0.5413 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.3104, allocations: 1.026 MB / 0.5423 GB, free: 5.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3104, allocations: 4.906 kB / 0.5423 GB, free: 5.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3104, allocations: 0 / 0.5423 GB, free: 5.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3104, allocations: 0 / 0.5423 GB, free: 5.223 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.001952/0.3124, allocations: 1.293 MB / 0.5436 GB, free: 4.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3124, allocations: 8.531 kB / 0.5436 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.3126, allocations: 116.2 kB / 0.5437 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.3135, allocations: 0.6584 MB / 0.5443 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.3135, allocations: 47 kB / 0.5444 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3136, allocations: 66.34 kB / 0.5444 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3149, allocations: 0.7683 MB / 0.5452 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3149, allocations: 5.344 kB / 0.5452 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.315, allocations: 27.94 kB / 0.5452 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.315, allocations: 14.72 kB / 0.5452 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3162, allocations: 0.5466 MB / 0.5458 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.3194, allocations: 2.704 MB / 0.5484 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.3207, allocations: 0.671 MB / 0.5491 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.3212, allocations: 279.3 kB / 0.5493 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.3213, allocations: 11.94 kB / 0.5493 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3213, allocations: 50.55 kB / 0.5494 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 1.934e-06/0.3213, allocations: 0 / 0.5494 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.001755/0.3231, allocations: 0.7927 MB / 0.5502 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.3233, allocations: 342.1 kB / 0.5505 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.324, allocations: 0.7006 MB / 0.5512 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.3241, allocations: 37.7 kB / 0.5512 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.3244, allocations: 432.5 kB / 0.5516 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3245, allocations: 185.3 kB / 0.5518 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.3247, allocations: 110.1 kB / 0.5519 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3248, allocations: 337.8 kB / 0.5522 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.3253, allocations: 235 kB / 0.5524 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.3259, allocations: 391.4 kB / 0.5528 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.327, allocations: 0.5599 MB / 0.5534 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.327, allocations: 0 / 0.5534 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002599/0.3296, allocations: 1.037 MB / 0.5544 GB, free: 9.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3296, allocations: 7.938 kB / 0.5544 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3297, allocations: 4 kB / 0.5544 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.3308, allocations: 323.4 kB / 0.5547 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.3314, allocations: 123.9 kB / 0.5548 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.3399, allocations: 7.268 MB / 0.5619 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.3405, allocations: 91.33 kB / 0.562 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.3406, allocations: 20 kB / 0.562 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006049/0.3412, allocations: 345.2 kB / 0.5624 GB, free: 1.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004955/0.3417, allocations: 355.5 kB / 0.5627 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008095/0.3425, allocations: 0.4904 MB / 0.5632 GB, free: 184 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/0.3425, allocations: 4 kB / 0.5632 GB, free: 180 kB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001524/0.344, allocations: 0.7397 MB / 0.5639 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3441, allocations: 8 kB / 0.5639 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3441, allocations: 7.984 kB / 0.5639 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.3446, allocations: 137.9 kB / 0.564 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.3453, allocations: 175.7 kB / 0.5642 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.3487, allocations: 3.426 MB / 0.5676 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.3492, allocations: 63.66 kB / 0.5676 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3492, allocations: 20 kB / 0.5676 GB, free: 11.31 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.0002047/0.3494, allocations: 223.6 kB / 0.5679 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.3496, allocations: 90.88 kB / 0.5679 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3498, allocations: 107.2 kB / 0.568 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3498, allocations: 3.984 kB / 0.568 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3498, allocations: 4 kB / 0.568 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3501, allocations: 207.8 kB / 0.5682 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.3502, allocations: 12 kB / 0.5683 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.3507, allocations: 43.95 kB / 0.5683 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.3508, allocations: 35.95 kB / 0.5683 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001739/0.3525, allocations: 0.9313 MB / 0.5692 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001952/0.3545, allocations: 1.31 MB / 0.5705 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005146/0.355, allocations: 275.7 kB / 0.5708 GB, free: 8.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005763/0.3556, allocations: 487 kB / 0.5712 GB, free: 7.57 MB / 430.1 MB Notification: Performance of Backend: time 3.71e-07/0.3556, allocations: 0 / 0.5712 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.3597, allocations: 1.755 MB / 0.573 GB, free: 5.738 MB / 430.1 MB Notification: Performance of SimCode: time 0.00264/0.3624, allocations: 1.974 MB / 0.5749 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Templates: time 0.02415/0.3866, allocations: 15.41 MB / 0.5899 GB, free: 4.363 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