Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 105.9 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3336/0.3336, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 52.06 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 60.81 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002369/0.3132, allocations: 1.605 MB / 0.5079 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.3134, allocations: 58.12 kB / 0.508 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.3134, allocations: 0 / 0.508 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.3136, allocations: 7.875 kB / 0.508 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.3136, allocations: 6.812 kB / 0.508 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.3137, allocations: 14.39 kB / 0.508 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3139, allocations: 40.59 kB / 0.5081 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.314, allocations: 9.828 kB / 0.5081 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.314, allocations: 13.66 kB / 0.5081 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.3141, allocations: 14.11 kB / 0.5081 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3141, allocations: 7.922 kB / 0.5081 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.3141, allocations: 2.938 kB / 0.5081 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3141, allocations: 5.938 kB / 0.5081 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.3142, allocations: 18.25 kB / 0.5081 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.131e-05/0.3142, allocations: 33.72 kB / 0.5082 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3143, allocations: 2.844 kB / 0.5082 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3143, allocations: 0 / 0.5082 GB, free: 37.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.716e-06/0.3143, allocations: 0 / 0.5082 GB, free: 37.15 MB / 378.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.0004141/0.3147, allocations: 344.7 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3147, allocations: 12.03 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3148, allocations: 8.844 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3149, allocations: 185.2 kB / 0.5087 GB, free: 36.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.3149, allocations: 7.25 kB / 0.5087 GB, free: 36.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.315, allocations: 7.031 kB / 0.5087 GB, free: 36.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3151, allocations: 63.7 kB / 0.5088 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3151, allocations: 192 / 0.5088 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3151, allocations: 9.031 kB / 0.5088 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.3152, allocations: 1.125 kB / 0.5088 GB, free: 36.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.3153, allocations: 28.31 kB / 0.5088 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.3157, allocations: 441.9 kB / 0.5092 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3159, allocations: 42.23 kB / 0.5093 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.3159, allocations: 23.14 kB / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.3159, allocations: 1.125 kB / 0.5093 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.316, allocations: 31.78 kB / 0.5093 GB, free: 35.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.316, allocations: 3.938 kB / 0.5093 GB, free: 35.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004175/0.3164, allocations: 112.8 kB / 0.5094 GB, free: 35.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.3164, allocations: 55.41 kB / 0.5095 GB, free: 35.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.3165, allocations: 117.4 kB / 0.5096 GB, free: 35.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.3165, allocations: 26.58 kB / 0.5096 GB, free: 35.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.3165, allocations: 90.3 kB / 0.5097 GB, free: 35.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.3166, allocations: 21.06 kB / 0.5097 GB, free: 35.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.3166, allocations: 18.78 kB / 0.5098 GB, free: 35.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.3167, allocations: 324.5 kB / 0.5101 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.3167, allocations: 8.469 kB / 0.5101 GB, free: 35.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.3168, allocations: 49.61 kB / 0.5101 GB, free: 35.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.88e-05/0.3169, allocations: 53.14 kB / 0.5102 GB, free: 35.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3169, allocations: 1.281 kB / 0.5102 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001314/0.317, allocations: 89.34 kB / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.317, allocations: 3.031 kB / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.317, allocations: 2.812 kB / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.317, allocations: 384 / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.3171, allocations: 14.84 kB / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3171, allocations: 0 / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.3172, allocations: 7.656 kB / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3172, allocations: 3.719 kB / 0.5103 GB, free: 35.09 MB / 378.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 6.371e-05/0.3172, allocations: 128.4 kB / 0.5104 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3173, allocations: 7.891 kB / 0.5104 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3173, allocations: 10.66 kB / 0.5104 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3173, allocations: 0 / 0.5104 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3173, allocations: 0 / 0.5104 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3173, allocations: 0 / 0.5104 GB, free: 34.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.3175, allocations: 179 kB / 0.5106 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3175, allocations: 0 / 0.5106 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.3175, allocations: 8.719 kB / 0.5106 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3175, allocations: 0 / 0.5106 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3176, allocations: 4 kB / 0.5106 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3176, allocations: 0 / 0.5106 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3176, allocations: 3.375 kB / 0.5106 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.3183, allocations: 1.074 MB / 0.5117 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.3184, allocations: 84.95 kB / 0.5117 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.3184, allocations: 0 / 0.5117 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.3184, allocations: 2.938 kB / 0.5117 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.3185, allocations: 7.219 kB / 0.5118 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3185, allocations: 2.875 kB / 0.5118 GB, free: 33.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.847e-05/0.3185, allocations: 95.61 kB / 0.5118 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3185, allocations: 4.094 kB / 0.5118 GB, free: 33.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002708/0.3188, allocations: 5.656 kB / 0.5119 GB, free: 33.48 MB / 378.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.596e-05/0.3189, allocations: 98.06 kB / 0.5119 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.319, allocations: 36.95 kB / 0.512 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.319, allocations: 0 / 0.512 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.3191, allocations: 23.03 kB / 0.512 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.3193, allocations: 7.469 kB / 0.512 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.3197, allocations: 288.3 kB / 0.5123 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3199, allocations: 0.6838 MB / 0.513 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.3199, allocations: 2.531 kB / 0.513 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.3199, allocations: 16.66 kB / 0.513 GB, free: 32.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3199, allocations: 0 / 0.513 GB, free: 32.4 MB / 378.7 MB Notification: Performance of Templates: time 0.002167/0.3221, allocations: 497.5 kB / 0.5134 GB, free: 32.33 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches