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.001348/0.001348, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001677/0.001677, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.521/1.521, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2602/0.2602, allocations: 46.95 MB / 361.6 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002453/0.002453, allocations: 75.88 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3573, allocations: 66.09 MB / 0.5619 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005823/0.3631, allocations: 3.844 MB / 0.5657 GB, free: 80 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.3671, allocations: 1.558 MB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005841/0.3676, allocations: 43.69 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.3681, allocations: 162.2 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.3685, allocations: 166.3 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3699, allocations: 0.6045 MB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3712, allocations: 1.023 MB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.3717, allocations: 298.4 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.3722, allocations: 378.3 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.3727, allocations: 345.7 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.3728, allocations: 88 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3729, allocations: 84 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3731, allocations: 203.2 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.3734, allocations: 341.9 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.3746, allocations: 1.042 MB / 0.5718 GB, free: 9.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3746, allocations: 0 / 0.5718 GB, free: 9.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3746, allocations: 0 / 0.5718 GB, free: 9.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.3746, allocations: 0 / 0.5718 GB, free: 9.754 MB / 414.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.002156/0.3767, allocations: 1.247 MB / 0.573 GB, free: 8.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3768, allocations: 15.97 kB / 0.573 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.377, allocations: 124.2 kB / 0.5732 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3782, allocations: 0.5867 MB / 0.5737 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.3782, allocations: 49.69 kB / 0.5738 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3783, allocations: 64.38 kB / 0.5738 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.38, allocations: 0.9706 MB / 0.5748 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.38, allocations: 4 kB / 0.5748 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.3801, allocations: 24 kB / 0.5748 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3801, allocations: 16 kB / 0.5748 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3814, allocations: 0.5543 MB / 0.5754 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.3849, allocations: 2.384 MB / 0.5777 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.3863, allocations: 0.6475 MB / 0.5783 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.3868, allocations: 275.3 kB / 0.5786 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.3869, allocations: 4 kB / 0.5786 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.3869, allocations: 46.5 kB / 0.5786 GB, free: 2.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 2.455e-06/0.3869, allocations: 0 / 0.5786 GB, free: 2.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.001888/0.3888, allocations: 0.7931 MB / 0.5794 GB, free: 1.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.389, allocations: 354.1 kB / 0.5798 GB, free: 1.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.3898, allocations: 0.6377 MB / 0.5804 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.3899, allocations: 37.7 kB / 0.5804 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.3903, allocations: 436.8 kB / 0.5808 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.3904, allocations: 202.5 kB / 0.581 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.3906, allocations: 110.3 kB / 0.5811 GB, free: 15.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3908, allocations: 326 kB / 0.5814 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.3913, allocations: 231.4 kB / 0.5817 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.3921, allocations: 0.5876 MB / 0.5822 GB, free: 14.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.3933, allocations: 0.5547 MB / 0.5828 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3933, allocations: 3.938 kB / 0.5828 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002724/0.396, allocations: 1.036 MB / 0.5838 GB, free: 12.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.396, allocations: 8 kB / 0.5838 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.396, allocations: 4 kB / 0.5838 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.3972, allocations: 315.3 kB / 0.5841 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.3978, allocations: 127.8 kB / 0.5842 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009146/0.4069, allocations: 6.732 MB / 0.5908 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.4076, allocations: 83.64 kB / 0.5909 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.4076, allocations: 20 kB / 0.5909 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006635/0.4083, allocations: 341.4 kB / 0.5912 GB, free: 4.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006559/0.4089, allocations: 0.5528 MB / 0.5918 GB, free: 4.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008808/0.4098, allocations: 0.4891 MB / 0.5922 GB, free: 3.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.4098, allocations: 4 kB / 0.5922 GB, free: 3.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001621/0.4114, allocations: 0.7348 MB / 0.593 GB, free: 2.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4115, allocations: 8 kB / 0.593 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4115, allocations: 0 / 0.593 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.412, allocations: 145.9 kB / 0.5931 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.4127, allocations: 167.8 kB / 0.5933 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.4164, allocations: 3.162 MB / 0.5964 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.4169, allocations: 71.77 kB / 0.5964 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.417, allocations: 28.19 kB / 0.5965 GB, free: 15.11 MB / 446.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.0002619/0.4172, allocations: 216.1 kB / 0.5967 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.4174, allocations: 91.44 kB / 0.5967 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.4176, allocations: 102.4 kB / 0.5968 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4176, allocations: 8 kB / 0.5969 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4177, allocations: 0 / 0.5969 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4177, allocations: 0 / 0.5969 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.4186, allocations: 0.5397 MB / 0.5974 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4186, allocations: 4 kB / 0.5974 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.4191, allocations: 111.9 kB / 0.5975 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4191, allocations: 0 / 0.5975 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.4192, allocations: 12 kB / 0.5975 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4192, allocations: 4 kB / 0.5975 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4192, allocations: 0 / 0.5975 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.4211, allocations: 1.213 MB / 0.5987 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.4214, allocations: 147.2 kB / 0.5988 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.4215, allocations: 12 kB / 0.5988 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.422, allocations: 43.95 kB / 0.5989 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.4221, allocations: 31.94 kB / 0.5989 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.4221, allocations: 16 kB / 0.5989 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005305/0.4226, allocations: 439 kB / 0.5994 GB, free: 12.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4226, allocations: 0 / 0.5994 GB, free: 12.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001005/0.4236, allocations: 299.1 kB / 0.5996 GB, free: 11.8 MB / 446.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.0001688/0.4238, allocations: 115.1 kB / 0.5997 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004083/0.4279, allocations: 1.83 MB / 0.6015 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4279, allocations: 0 / 0.6015 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.4285, allocations: 267.8 kB / 0.6018 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.4298, allocations: 241.9 kB / 0.602 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.4328, allocations: 1.535 MB / 0.6035 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.4332, allocations: 391.4 kB / 0.6039 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.4334, allocations: 51.42 kB / 0.6039 GB, free: 7.238 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4334, allocations: 3.938 kB / 0.6039 GB, free: 7.234 MB / 446.1 MB Notification: Performance of Templates: time 0.02474/0.4581, allocations: 17.29 MB / 0.6208 GB, free: 5.949 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.557227028999478]