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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008796/0.0008796, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002259, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001245/0.001245, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002869, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9591/0.9591, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08461/1.044, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.2781/0.2781, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02723/0.3053, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.7 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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.078e-05, allocations: 2.312 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002448/0.002469, allocations: 1.648 MB / 295.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.002603, allocations: 75.61 kB / 295.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.00265, allocations: 0 / 295.8 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.923e-05/0.002699, allocations: 11.94 kB / 295.8 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.002725, allocations: 3.938 kB / 295.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.031e-05/0.002795, allocations: 15.98 kB / 295.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.002885, allocations: 43.84 kB / 295.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.002953, allocations: 15.92 kB / 295.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.006023, allocations: 23.92 kB / 295.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.006069, allocations: 4 kB / 295.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.006087, allocations: 0 / 295.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.006096, allocations: 4 kB / 295.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.006113, allocations: 7.938 kB / 295.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.006129, allocations: 8 kB / 295.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.006216, allocations: 35.83 kB / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.006226, allocations: 0 / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006226, allocations: 0 / 296 MB, free: 3.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.006234, allocations: 0 / 296 MB, free: 3.18 MB / 282.7 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.0003694/0.006603, allocations: 253.7 kB / 296.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.006633, allocations: 12.91 kB / 296.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.006662, allocations: 4.938 kB / 296.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.006787, allocations: 121.7 kB / 296.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.006794, allocations: 384 / 296.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.006817, allocations: 12.38 kB / 296.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.006919, allocations: 77.45 kB / 296.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.006925, allocations: 192 / 296.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.006933, allocations: 4.375 kB / 296.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.006938, allocations: 384 / 296.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.006967, allocations: 23.86 kB / 296.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.007219, allocations: 328.5 kB / 296.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.473e-05/0.007304, allocations: 26.61 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.007318, allocations: 16.8 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.007327, allocations: 64 / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.007348, allocations: 42.58 kB / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.007349, allocations: 0 / 296.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002373/0.007586, allocations: 73.55 kB / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.007611, allocations: 59.34 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.007671, allocations: 124.2 kB / 297.1 MB, free: 1.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.00768, allocations: 25.7 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.007716, allocations: 92.08 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.007727, allocations: 15.89 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.007759, allocations: 25.7 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.007827, allocations: 314.8 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.007838, allocations: 4 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.007868, allocations: 35.42 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.007918, allocations: 43.67 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.007919, allocations: 0 / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000192/0.008111, allocations: 57.61 kB / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.008128, allocations: 20.02 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.008132, allocations: 0 / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008143, allocations: 3.938 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.008195, allocations: 12 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.008199, allocations: 0 / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.008228, allocations: 8 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.008234, allocations: 160 / 297.8 MB, free: 1.184 MB / 282.7 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 5.844e-05/0.008293, allocations: 117.8 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.008315, allocations: 4 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.008339, allocations: 11.94 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00834, allocations: 4 kB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.008342, allocations: 0 / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.008344, allocations: 0 / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.008449, allocations: 69.89 kB / 298 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008451, allocations: 4 kB / 298 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.822e-05/0.008539, allocations: 15.92 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.008547, allocations: 7.984 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.008548, allocations: 0 / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.008556, allocations: 11.88 kB / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008557, allocations: 0 / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.008559, allocations: 3.984 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.008668, allocations: 147.5 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.008681, allocations: 8 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.00873, allocations: 3.938 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.008742, allocations: 7.984 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.008745, allocations: 0 / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003033/0.01178, allocations: 12.86 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01178, allocations: 3.938 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.01195, allocations: 8 kB / 298.2 MB, free: 0.6992 MB / 282.7 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 6.092e-05/0.01201, allocations: 72.41 kB / 298.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.01208, allocations: 32.88 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.01209, allocations: 3.984 kB / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.946e-05/0.01211, allocations: 16.8 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01229, allocations: 72.05 kB / 298.4 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.01264, allocations: 152.1 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.222e-05/0.01267, allocations: 55.36 kB / 298.6 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.844e-05/0.0127, allocations: 8.359 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.01275, allocations: 55.66 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01275, allocations: 0 / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of Templates: time 0.00512/0.01787, allocations: 0.5913 MB / 299.3 MB, free: 15.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.894234494306147]