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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 109.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 183 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1844/0.1844, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 55.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2777, allocations: 60.83 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00246/0.2802, allocations: 1.544 MB / 0.5211 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001956/0.2805, allocations: 63.98 kB / 0.5211 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.2805, allocations: 1.375 kB / 0.5211 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.2806, allocations: 7.391 kB / 0.5211 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.2807, allocations: 3.938 kB / 0.5211 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.2808, allocations: 20.92 kB / 0.5212 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2809, allocations: 32.48 kB / 0.5212 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.281, allocations: 23.52 kB / 0.5212 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.281, allocations: 14.27 kB / 0.5212 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.2811, allocations: 17.97 kB / 0.5212 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2811, allocations: 2.281 kB / 0.5212 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.2811, allocations: 3.062 kB / 0.5212 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.2811, allocations: 9.922 kB / 0.5213 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.2812, allocations: 17.84 kB / 0.5213 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.076e-05/0.2813, allocations: 33.97 kB / 0.5213 GB, free: 2.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2813, allocations: 0 / 0.5213 GB, free: 2.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.2813, allocations: 5.734 kB / 0.5213 GB, free: 2.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2813, allocations: 3.938 kB / 0.5213 GB, free: 2.355 MB / 382.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.0003304/0.2816, allocations: 345.9 kB / 0.5216 GB, free: 1.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2817, allocations: 8.938 kB / 0.5216 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.2817, allocations: 8.844 kB / 0.5217 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.2819, allocations: 182.4 kB / 0.5218 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.2819, allocations: 5.375 kB / 0.5218 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2819, allocations: 2.625 kB / 0.5218 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.282, allocations: 77.16 kB / 0.5219 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.282, allocations: 0.7031 kB / 0.5219 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.2821, allocations: 7.938 kB / 0.5219 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2821, allocations: 1.281 kB / 0.5219 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.2822, allocations: 26.7 kB / 0.5219 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.2825, allocations: 446.6 kB / 0.5224 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.2827, allocations: 42.34 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.2827, allocations: 17.69 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2827, allocations: 0.5625 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.2828, allocations: 40.3 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.2828, allocations: 0 / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000409/0.2832, allocations: 108.8 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.2832, allocations: 53.12 kB / 0.5226 GB, free: 1.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.2833, allocations: 114.8 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.2833, allocations: 26.22 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.2833, allocations: 100.9 kB / 0.5229 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.2833, allocations: 19.16 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.2834, allocations: 19.66 kB / 0.5229 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.2834, allocations: 318.5 kB / 0.5232 GB, free: 460 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.2835, allocations: 14.53 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.2835, allocations: 39.25 kB / 0.5232 GB, free: 420 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.2836, allocations: 64.53 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2836, allocations: 0 / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001382/0.2838, allocations: 92.41 kB / 0.5234 GB, free: 308 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2838, allocations: 14.31 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2838, allocations: 1.344 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2838, allocations: 1.25 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.2839, allocations: 12.39 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2839, allocations: 5 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.284, allocations: 3.734 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.284, allocations: 1.969 kB / 0.5234 GB, free: 296 kB / 382.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 4.945e-05/0.284, allocations: 117.7 kB / 0.5235 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.284, allocations: 7.375 kB / 0.5236 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.2841, allocations: 14.25 kB / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2841, allocations: 0 / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2841, allocations: 1.828 kB / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2841, allocations: 0 / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2843, allocations: 171.2 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2843, allocations: 0 / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.2843, allocations: 11.36 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2843, allocations: 0 / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2844, allocations: 1.812 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2844, allocations: 0 / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2844, allocations: 1.5 kB / 0.5237 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2846, allocations: 183.2 kB / 0.5239 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2846, allocations: 79.72 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2847, allocations: 1.516 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.2847, allocations: 1.828 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2848, allocations: 7.312 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2848, allocations: 1.844 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.801e-05/0.2848, allocations: 93.45 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2848, allocations: 0 / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000219/0.2851, allocations: 6.844 kB / 0.5241 GB, free: 15.61 MB / 398.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 8.098e-05/0.2851, allocations: 100.5 kB / 0.5242 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.2853, allocations: 37.09 kB / 0.5242 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2853, allocations: 0 / 0.5242 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.2854, allocations: 17.97 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2856, allocations: 26 kB / 0.5243 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.286, allocations: 181.6 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2862, allocations: 0.688 MB / 0.5251 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.2863, allocations: 9.688 kB / 0.5251 GB, free: 14.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2863, allocations: 0 / 0.5251 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Templates: time 0.002122/0.2884, allocations: 0.7932 MB / 0.5259 GB, free: 14.55 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches