Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001028/0.001028, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001309/0.001309, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9351/0.9351, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.907e-05, allocations: 10.25 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001905/0.001934, allocations: 1.587 MB / 349.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000233/0.002167, allocations: 59.8 kB / 349.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.002232, allocations: 0 / 349.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.002346, allocations: 3.938 kB / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.002384, allocations: 15.86 kB / 349.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.00251, allocations: 19.97 kB / 349.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.002604, allocations: 31.92 kB / 349.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.002703, allocations: 11.94 kB / 349.4 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.002745, allocations: 15.98 kB / 349.4 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.002793, allocations: 11.97 kB / 349.4 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.00281, allocations: 4 kB / 349.4 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.00282, allocations: 7.938 kB / 349.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.002835, allocations: 0 / 349.4 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.002857, allocations: 11.98 kB / 349.4 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.002961, allocations: 31.84 kB / 349.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.002964, allocations: 4 kB / 349.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.002965, allocations: 0 / 349.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.00297, allocations: 0 / 349.5 MB, free: 7.637 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.0003308/0.003301, allocations: 376.5 kB / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.003338, allocations: 12.03 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.003375, allocations: 4.938 kB / 349.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.003507, allocations: 128.5 kB / 350 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.003516, allocations: 384 / 350 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.003545, allocations: 12.38 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.003664, allocations: 82.02 kB / 350.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.003674, allocations: 4.125 kB / 350.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.003683, allocations: 4.312 kB / 350.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.003691, allocations: 384 / 350.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.003723, allocations: 15.92 kB / 350.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.00404, allocations: 0.5288 MB / 350.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.004155, allocations: 39.06 kB / 350.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.004175, allocations: 15.77 kB / 350.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.004184, allocations: 3.984 kB / 350.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.004201, allocations: 41.33 kB / 350.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004202, allocations: 0 / 350.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003811/0.004583, allocations: 81.52 kB / 350.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.004605, allocations: 51.41 kB / 350.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.004666, allocations: 173.9 kB / 351 MB, free: 5.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.004672, allocations: 29.64 kB / 351.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.004724, allocations: 146.8 kB / 351.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.004735, allocations: 11.91 kB / 351.2 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.004767, allocations: 31.38 kB / 351.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.004824, allocations: 0.4884 MB / 351.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.004843, allocations: 4 kB / 351.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.004871, allocations: 46.73 kB / 351.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.004916, allocations: 50.69 kB / 351.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.004917, allocations: 0 / 351.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.042e-05/0.004988, allocations: 73.52 kB / 351.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.005002, allocations: 12.09 kB / 351.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.005007, allocations: 0 / 351.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.005023, allocations: 0 / 351.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.005068, allocations: 19.92 kB / 351.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005073, allocations: 0 / 351.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.005093, allocations: 4 kB / 351.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.005097, allocations: 160 / 351.9 MB, free: 4.91 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 4.074e-05/0.005138, allocations: 160.6 kB / 352.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.005154, allocations: 7.938 kB / 352.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.005177, allocations: 11.98 kB / 352.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005179, allocations: 4 kB / 352.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.005183, allocations: 0 / 352.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005185, allocations: 0 / 352.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.00526, allocations: 120.6 kB / 352.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005262, allocations: 7.938 kB / 352.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.005303, allocations: 8 kB / 352.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.005306, allocations: 7.938 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.005313, allocations: 0 / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005314, allocations: 0 / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005316, allocations: 7.922 kB / 352.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.005426, allocations: 207.9 kB / 352.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.005435, allocations: 8.406 kB / 352.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.005446, allocations: 7.938 kB / 352.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/0.005474, allocations: 0 / 352.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.005503, allocations: 3.984 kB / 352.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.005507, allocations: 8 kB / 352.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.025e-05/0.005527, allocations: 123.2 kB / 352.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005527, allocations: 0 / 352.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.005672, allocations: 15.98 kB / 352.6 MB, free: 4.148 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 5.894e-05/0.005731, allocations: 91.25 kB / 352.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.005814, allocations: 35.59 kB / 352.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005815, allocations: 0 / 352.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.005831, allocations: 23.62 kB / 352.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.006035, allocations: 7.984 kB / 352.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.006376, allocations: 165.9 kB / 352.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.497e-05/0.006401, allocations: 55.36 kB / 353 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.785e-05/0.006418, allocations: 3.984 kB / 353 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.006445, allocations: 16.69 kB / 353 MB, free: 3.688 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.006446, allocations: 0 / 353 MB, free: 3.688 MB / 282.7 MB Notification: Performance of Templates: time 0.002296/0.008742, allocations: 0.551 MB / 353.6 MB, free: 3.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2525881147012115]