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.001464/0.001464, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001718/0.001718, allocations: 203.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.245/0.245, allocations: 46.95 MB / 360.9 MB, free: 4.117 MB / 286.1 MB " [Timeout remaining time 179] 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 0.0027/0.0027, allocations: 67.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.481, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.005265/0.4863, allocations: 1.56 MB / 0.5626 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00037/0.4866, allocations: 67.8 kB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.624e-05/0.4867, allocations: 0 / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.4869, allocations: 15.86 kB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.4869, allocations: 3.938 kB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.4871, allocations: 15.98 kB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.4872, allocations: 31.92 kB / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4874, allocations: 19.91 kB / 0.5627 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.967e-05/0.4874, allocations: 8 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.4875, allocations: 23.86 kB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.4875, allocations: 4 kB / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.4875, allocations: 0 / 0.5628 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.4876, allocations: 4 kB / 0.5628 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.4876, allocations: 11.94 kB / 0.5628 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.4878, allocations: 47.41 kB / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4878, allocations: 0 / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4878, allocations: 0 / 0.5628 GB, free: 2.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4878, allocations: 0 / 0.5628 GB, free: 2.344 MB / 398.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.0006809/0.4885, allocations: 272.9 kB / 0.5631 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.4885, allocations: 16.03 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.4886, allocations: 12.83 kB / 0.5631 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.4889, allocations: 114.5 kB / 0.5632 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4889, allocations: 4.375 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.489, allocations: 4.375 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.4892, allocations: 76.75 kB / 0.5633 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4892, allocations: 4.172 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4892, allocations: 3.938 kB / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4892, allocations: 0 / 0.5633 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.4894, allocations: 27.98 kB / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.49, allocations: 392.8 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.4902, allocations: 42.5 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.4903, allocations: 16.86 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.4903, allocations: 12 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4903, allocations: 34.5 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4903, allocations: 0 / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005038/0.4908, allocations: 105.6 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4909, allocations: 55.34 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.491, allocations: 117.8 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.491, allocations: 25.7 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.4911, allocations: 92.09 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.4911, allocations: 15.84 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.4912, allocations: 25.7 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.4914, allocations: 314.8 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.4914, allocations: 15.98 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.4915, allocations: 43.42 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4917, allocations: 63.36 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4917, allocations: 0 / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002656/0.492, allocations: 89.56 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.492, allocations: 4 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.492, allocations: 4.094 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.492, allocations: 4 kB / 0.5648 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4921, allocations: 15.92 kB / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4921, allocations: 384 / 0.5648 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.4922, allocations: 4 kB / 0.5648 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4922, allocations: 4 kB / 0.5648 GB, free: 144 kB / 398.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 0.0001368/0.4923, allocations: 117.8 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.4924, allocations: 7.891 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.4924, allocations: 15.98 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4924, allocations: 0 / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4924, allocations: 4 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4925, allocations: 0 / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.4927, allocations: 113.2 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4927, allocations: 0 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4928, allocations: 11.98 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.4928, allocations: 4 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4928, allocations: 0 / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4928, allocations: 3.938 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4928, allocations: 3.938 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.4932, allocations: 179.5 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.4932, allocations: 8.359 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4933, allocations: 4.031 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.4933, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.4933, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4933, allocations: 4 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.4934, allocations: 91.27 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4934, allocations: 0 / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.4938, allocations: 8 kB / 0.5653 GB, free: 15.51 MB / 414.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 0.0001379/0.4939, allocations: 95.19 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.4942, allocations: 48.02 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4942, allocations: 0 / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.4943, allocations: 15.92 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4947, allocations: 15.88 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.4953, allocations: 158 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.4954, allocations: 71.33 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.454e-05/0.4954, allocations: 8.188 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4955, allocations: 7.719 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4955, allocations: 0 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Templates: time 0.003999/0.4995, allocations: 0.4891 MB / 0.5662 GB, free: 14.56 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.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: 5.36928694602102]