Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000718/0.000718, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008687/0.0008687, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1888/0.1888, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002569, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09575, allocations: 63.56 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001534/0.09732, allocations: 1.281 MB / 485 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.09753, allocations: 71.78 kB / 485.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.09759, allocations: 4 kB / 485.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.177e-05/0.09768, allocations: 3.938 kB / 485.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.09772, allocations: 3.938 kB / 485.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001111/0.09784, allocations: 19.98 kB / 485.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.09794, allocations: 27.92 kB / 485.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.09803, allocations: 11.94 kB / 485.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.09806, allocations: 11.97 kB / 485.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.09812, allocations: 15.88 kB / 485.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.09814, allocations: 8 kB / 485.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.09816, allocations: 0 / 485.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.09818, allocations: 3.984 kB / 485.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.09822, allocations: 41.58 kB / 485.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.775e-05/0.09828, allocations: 19.97 kB / 485.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09829, allocations: 0 / 485.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.0983, allocations: 4 kB / 485.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.09831, allocations: 0 / 485.3 MB, free: 2.641 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004093/0.09872, allocations: 347.7 kB / 485.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.09877, allocations: 12.88 kB / 485.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.0988, allocations: 4.844 kB / 485.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.09897, allocations: 180.2 kB / 485.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.09898, allocations: 4.375 kB / 485.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.09901, allocations: 4.375 kB / 485.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.09916, allocations: 72.81 kB / 485.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.09918, allocations: 4.188 kB / 485.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.0992, allocations: 3.938 kB / 485.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.0992, allocations: 0 / 485.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.09931, allocations: 31.92 kB / 485.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.09976, allocations: 453.1 kB / 486.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.09993, allocations: 46.56 kB / 486.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.1, allocations: 16.84 kB / 486.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.1, allocations: 0 / 486.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1, allocations: 38.64 kB / 486.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1001, allocations: 0 / 486.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004686/0.1005, allocations: 117.4 kB / 486.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.1006, allocations: 51.41 kB / 486.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.1007, allocations: 121.7 kB / 486.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1007, allocations: 33.69 kB / 486.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.1007, allocations: 92.05 kB / 486.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1008, allocations: 15.73 kB / 486.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1008, allocations: 21.7 kB / 486.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.1009, allocations: 314.8 kB / 487.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.1009, allocations: 19.98 kB / 487.2 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.101, allocations: 51.34 kB / 487.3 MB, free: 388 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1011, allocations: 63.36 kB / 487.3 MB, free: 312 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1011, allocations: 4 kB / 487.3 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000157/0.1013, allocations: 85.61 kB / 487.4 MB, free: 216 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1013, allocations: 4 kB / 487.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1013, allocations: 4 kB / 487.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1014, allocations: 0 / 487.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.1014, allocations: 15.98 kB / 487.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1014, allocations: 96 / 487.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1015, allocations: 8 kB / 487.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1015, allocations: 8 kB / 487.5 MB, free: 176 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 9.702e-05/0.1016, allocations: 117.7 kB / 487.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.1016, allocations: 7.906 kB / 487.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.1017, allocations: 7.906 kB / 487.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1017, allocations: 3.984 kB / 487.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1017, allocations: 4 kB / 487.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1017, allocations: 0 / 487.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1019, allocations: 173.6 kB / 487.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1019, allocations: 0 / 487.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.102, allocations: 8 kB / 487.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.102, allocations: 4 kB / 487.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.102, allocations: 0 / 487.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.102, allocations: 0 / 487.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.102, allocations: 3.984 kB / 487.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1023, allocations: 183.8 kB / 488 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.1023, allocations: 85.42 kB / 488 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1024, allocations: 4 kB / 488 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.1024, allocations: 3.984 kB / 488 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.1025, allocations: 7.984 kB / 488.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1025, allocations: 7.922 kB / 488.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.465e-05/0.1025, allocations: 91.27 kB / 488.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1025, allocations: 4.062 kB / 488.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1028, allocations: 8 kB / 488.2 MB, free: 15.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.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 (4): * Single equations (assignments): 4 * 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 8.005e-05/0.1028, allocations: 91.19 kB / 488.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.103, allocations: 47.91 kB / 488.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.103, allocations: 0 / 488.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.1031, allocations: 20.19 kB / 488.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.1033, allocations: 7.984 kB / 488.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.1037, allocations: 196.3 kB / 488.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1039, allocations: 0.6887 MB / 489.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.1039, allocations: 11.44 kB / 489.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.104, allocations: 0 / 489.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of Templates: time 0.001798/0.1058, allocations: 0.7661 MB / 490 MB, free: 13.47 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches