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.001577/0.001577, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001814/0.001814, allocations: 217 kB / 24.5 MB, free: 4.133 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.416/1.416, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.2224/0.2224, allocations: 46.92 MB / 361.5 MB, free: 4.188 MB / 286.1 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 0.002247/0.002247, allocations: 75.88 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3745, allocations: 66.08 MB / 0.562 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.006077/0.3806, allocations: 4.383 MB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.3838, allocations: 1.605 MB / 0.5678 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004549/0.3843, allocations: 47.62 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.3847, allocations: 158.3 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.3851, allocations: 166.3 kB / 0.5682 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3864, allocations: 0.6027 MB / 0.5687 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.3875, allocations: 1.035 MB / 0.5698 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005256/0.388, allocations: 314.3 kB / 0.5701 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.3885, allocations: 378.3 kB / 0.5704 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.3889, allocations: 389.7 kB / 0.5708 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.389, allocations: 84 kB / 0.5709 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3891, allocations: 88 kB / 0.571 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3893, allocations: 203.2 kB / 0.5711 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.3897, allocations: 441.2 kB / 0.5716 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3907, allocations: 1.022 MB / 0.5726 GB, free: 9.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3907, allocations: 0 / 0.5726 GB, free: 9.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.3907, allocations: 3.984 kB / 0.5726 GB, free: 9.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3908, allocations: 0 / 0.5726 GB, free: 9.301 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.002129/0.3929, allocations: 1.255 MB / 0.5738 GB, free: 8.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3929, allocations: 8.031 kB / 0.5738 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3931, allocations: 120.2 kB / 0.5739 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3941, allocations: 0.5907 MB / 0.5745 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.3942, allocations: 49.62 kB / 0.5745 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3943, allocations: 68.38 kB / 0.5746 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3956, allocations: 0.7659 MB / 0.5754 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3956, allocations: 7.938 kB / 0.5754 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.3957, allocations: 24 kB / 0.5754 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.3957, allocations: 16 kB / 0.5754 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3968, allocations: 0.5504 MB / 0.5759 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.4004, allocations: 2.664 MB / 0.5785 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.4017, allocations: 0.6528 MB / 0.5792 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.4023, allocations: 271.3 kB / 0.5794 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.4023, allocations: 11.94 kB / 0.5794 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.4024, allocations: 42.56 kB / 0.5795 GB, free: 1.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 1.904e-06/0.4024, allocations: 0 / 0.5795 GB, free: 1.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.0018/0.4042, allocations: 0.8044 MB / 0.5803 GB, free: 1.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.4044, allocations: 338.1 kB / 0.5806 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/0.4052, allocations: 0.7007 MB / 0.5813 GB, free: 8 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.4053, allocations: 37.7 kB / 0.5813 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.4057, allocations: 441 kB / 0.5817 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.4058, allocations: 198.3 kB / 0.5819 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.406, allocations: 110.3 kB / 0.582 GB, free: 15.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4062, allocations: 329.9 kB / 0.5823 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.4067, allocations: 227.4 kB / 0.5826 GB, free: 14.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.4074, allocations: 392.4 kB / 0.5829 GB, free: 14.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4084, allocations: 0.5562 MB / 0.5835 GB, free: 13.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4084, allocations: 0 / 0.5835 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002598/0.411, allocations: 1.041 MB / 0.5845 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4111, allocations: 6.031 kB / 0.5845 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4111, allocations: 4 kB / 0.5845 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.4122, allocations: 319.4 kB / 0.5848 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.4128, allocations: 127.9 kB / 0.5849 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/0.4218, allocations: 6.863 MB / 0.5916 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005726/0.4224, allocations: 83.64 kB / 0.5917 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.4224, allocations: 20 kB / 0.5917 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006543/0.4231, allocations: 346.7 kB / 0.5921 GB, free: 4.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005451/0.4236, allocations: 360.4 kB / 0.5924 GB, free: 3.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008399/0.4244, allocations: 0.4931 MB / 0.5929 GB, free: 3.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.4244, allocations: 0 / 0.5929 GB, free: 3.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001524/0.426, allocations: 0.7394 MB / 0.5936 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.426, allocations: 19.94 kB / 0.5936 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.426, allocations: 0 / 0.5936 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.4265, allocations: 145.5 kB / 0.5938 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.4272, allocations: 171.8 kB / 0.5939 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.4309, allocations: 3.229 MB / 0.5971 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.4314, allocations: 75.73 kB / 0.5972 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.4314, allocations: 20 kB / 0.5972 GB, free: 14.77 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.000254/0.4317, allocations: 216.1 kB / 0.5974 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.4319, allocations: 103.3 kB / 0.5975 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.4321, allocations: 95.09 kB / 0.5976 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4321, allocations: 8 kB / 0.5976 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4321, allocations: 0 / 0.5976 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4321, allocations: 4 kB / 0.5976 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4332, allocations: 0.7068 MB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4332, allocations: 4 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.4337, allocations: 107.9 kB / 0.5984 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.4337, allocations: 7.938 kB / 0.5984 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4337, allocations: 12 kB / 0.5984 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4337, allocations: 7.938 kB / 0.5984 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4337, allocations: 0 / 0.5984 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.4356, allocations: 1.202 MB / 0.5996 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.4359, allocations: 151.1 kB / 0.5997 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.436, allocations: 12 kB / 0.5997 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.4364, allocations: 47.95 kB / 0.5998 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4365, allocations: 39.86 kB / 0.5998 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.4366, allocations: 12 kB / 0.5998 GB, free: 11.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.4372, allocations: 487 kB / 0.6003 GB, free: 11.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4372, allocations: 0 / 0.6003 GB, free: 11.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009432/0.4381, allocations: 283.4 kB / 0.6006 GB, free: 11.23 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.0001562/0.4383, allocations: 107.2 kB / 0.6007 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003999/0.4423, allocations: 1.826 MB / 0.6025 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.4423, allocations: 4 kB / 0.6025 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.4428, allocations: 271.7 kB / 0.6027 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.4441, allocations: 238 kB / 0.6029 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4468, allocations: 1.555 MB / 0.6045 GB, free: 7.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.4475, allocations: 0.9809 MB / 0.6054 GB, free: 6.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.4477, allocations: 47.44 kB / 0.6055 GB, free: 6.062 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4477, allocations: 0 / 0.6055 GB, free: 6.062 MB / 446.1 MB Notification: Performance of Templates: time 0.02238/0.47, allocations: 17.16 MB / 0.6222 GB, free: 4.898 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.507790639996529]