Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002598, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002417, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9885/0.9885, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/1.096, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2627/0.2627, allocations: 34.24 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02418/0.2869, allocations: 13.1 MB / 291.5 MB, free: 7.348 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 292.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.75e-05, allocations: 2.859 kB / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003284/0.003311, allocations: 1.656 MB / 294.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002011/0.003512, allocations: 63.73 kB / 294.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.003581, allocations: 3.938 kB / 294.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.881e-05/0.00365, allocations: 11.92 kB / 294.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.003685, allocations: 3.938 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.935e-05/0.003784, allocations: 23.91 kB / 294.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003913, allocations: 39.86 kB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.004004, allocations: 11.94 kB / 294.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.004083, allocations: 19.98 kB / 294.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.004147, allocations: 15.91 kB / 294.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.004171, allocations: 4 kB / 294.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.004181, allocations: 0 / 294.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.004204, allocations: 4 kB / 294.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.004229, allocations: 11.94 kB / 294.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.004349, allocations: 19.92 kB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.004364, allocations: 0 / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004365, allocations: 4 kB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.004376, allocations: 4 kB / 294.7 MB, free: 4.332 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.0004294/0.004805, allocations: 253.7 kB / 295 MB, free: 4.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.004845, allocations: 12.03 kB / 295 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.004885, allocations: 4.938 kB / 295 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.00506, allocations: 129.7 kB / 295.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005072, allocations: 4.375 kB / 295.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.005098, allocations: 384 / 295.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.005248, allocations: 77.52 kB / 295.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.005256, allocations: 4.188 kB / 295.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.005265, allocations: 384 / 295.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.005275, allocations: 4.375 kB / 295.2 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.005314, allocations: 15.86 kB / 295.2 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.005728, allocations: 336.6 kB / 295.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.005862, allocations: 26.56 kB / 295.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.005883, allocations: 8.859 kB / 295.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.005896, allocations: 0 / 295.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.005922, allocations: 34.56 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005923, allocations: 4 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003766/0.0063, allocations: 77.56 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.006334, allocations: 51.41 kB / 295.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.006421, allocations: 122.6 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.006437, allocations: 29.7 kB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.006485, allocations: 92.08 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.006501, allocations: 15.89 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.006541, allocations: 21.72 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.006657, allocations: 322.8 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.00667, allocations: 4 kB / 296.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.006702, allocations: 31.38 kB / 296.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.293e-05/0.006765, allocations: 47.72 kB / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.006768, allocations: 11.86 kB / 296.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.63e-05/0.006864, allocations: 57.62 kB / 296.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.006881, allocations: 7.938 kB / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006886, allocations: 0 / 296.5 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.006902, allocations: 8.094 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.006975, allocations: 11.98 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.00698, allocations: 4.156 kB / 296.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.00701, allocations: 0 / 296.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.007023, allocations: 4 kB / 296.5 MB, free: 2.336 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 7.084e-05/0.007094, allocations: 117.7 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.007121, allocations: 7.984 kB / 296.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.007154, allocations: 11.94 kB / 296.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.007157, allocations: 4 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.00716, allocations: 4 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007164, allocations: 4 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.007292, allocations: 73.88 kB / 296.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.007294, allocations: 0 / 296.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.007429, allocations: 11.98 kB / 296.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.007438, allocations: 4 kB / 296.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.007441, allocations: 0 / 296.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.007451, allocations: 3.938 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.007455, allocations: 3.984 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.007461, allocations: 4 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.007625, allocations: 147.5 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.00764, allocations: 4.031 kB / 296.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.007705, allocations: 3.938 kB / 296.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.007721, allocations: 4 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.007725, allocations: 0 / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.409e-05/0.007749, allocations: 16.84 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007749, allocations: 0 / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.007948, allocations: 8 kB / 296.9 MB, free: 1.859 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 9.296e-05/0.008041, allocations: 72.42 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.537e-05/0.008136, allocations: 36.89 kB / 297 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.008143, allocations: 4.094 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.008174, allocations: 16.84 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.008426, allocations: 68.97 kB / 297.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.008941, allocations: 145.7 kB / 297.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.008983, allocations: 59.34 kB / 297.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.00902, allocations: 4 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.009084, allocations: 59.36 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.009086, allocations: 0 / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of Templates: time 0.002908/0.01199, allocations: 0.6064 MB / 298 MB, free: 0.7422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.6594690084457397]