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.001039/0.001039, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.0011/0.0011, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.273/1.273, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2012/0.2012, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 75.88 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2847, allocations: 60.81 MB / 0.5196 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002183/0.287, allocations: 1.554 MB / 0.5211 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001853/0.2872, allocations: 57.67 kB / 0.5211 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.2872, allocations: 1.094 kB / 0.5211 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.544e-05/0.2873, allocations: 9.328 kB / 0.5211 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.2874, allocations: 9.703 kB / 0.5211 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.2875, allocations: 17.67 kB / 0.5212 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.2876, allocations: 40.12 kB / 0.5212 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.2877, allocations: 18.62 kB / 0.5212 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.2877, allocations: 10.52 kB / 0.5212 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.2877, allocations: 17.91 kB / 0.5212 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2878, allocations: 2.438 kB / 0.5212 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.2878, allocations: 2.469 kB / 0.5213 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.2878, allocations: 2.453 kB / 0.5213 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.2878, allocations: 21.52 kB / 0.5213 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.686e-05/0.2879, allocations: 33.92 kB / 0.5213 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2879, allocations: 0.9688 kB / 0.5213 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2879, allocations: 3.938 kB / 0.5213 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2879, allocations: 4 kB / 0.5213 GB, free: 2.633 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.0003066/0.2883, allocations: 354 kB / 0.5217 GB, free: 2.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.2883, allocations: 9.703 kB / 0.5217 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.2883, allocations: 7.594 kB / 0.5217 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2885, allocations: 180.2 kB / 0.5218 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.2885, allocations: 1.469 kB / 0.5218 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2885, allocations: 3.984 kB / 0.5218 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.2886, allocations: 75.22 kB / 0.5219 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2887, allocations: 1.469 kB / 0.5219 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2887, allocations: 3.938 kB / 0.5219 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2887, allocations: 1.688 kB / 0.5219 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.2888, allocations: 22.16 kB / 0.5219 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.2891, allocations: 454.5 kB / 0.5224 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2893, allocations: 38.56 kB / 0.5224 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.2893, allocations: 18.58 kB / 0.5224 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2893, allocations: 3.938 kB / 0.5224 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.2894, allocations: 36.44 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2894, allocations: 0 / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003996/0.2898, allocations: 109.3 kB / 0.5226 GB, free: 1.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.612e-05/0.2898, allocations: 55.34 kB / 0.5226 GB, free: 1.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.2899, allocations: 116.6 kB / 0.5227 GB, free: 1.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.2899, allocations: 25.7 kB / 0.5228 GB, free: 1.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.2899, allocations: 95.91 kB / 0.5229 GB, free: 1.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.2899, allocations: 15.45 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.29, allocations: 23.55 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.29, allocations: 318.2 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.2901, allocations: 16.05 kB / 0.5232 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.2901, allocations: 42.33 kB / 0.5233 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.2902, allocations: 63.94 kB / 0.5233 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2902, allocations: 0 / 0.5233 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.2904, allocations: 80.38 kB / 0.5234 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2904, allocations: 5.188 kB / 0.5234 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2904, allocations: 6.156 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2904, allocations: 2.594 kB / 0.5234 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.2905, allocations: 23.7 kB / 0.5234 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2905, allocations: 1.094 kB / 0.5234 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.2906, allocations: 3.062 kB / 0.5234 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.2906, allocations: 7.281 kB / 0.5234 GB, free: 0.5625 MB / 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.491e-05/0.2906, allocations: 116.8 kB / 0.5235 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2906, allocations: 3.766 kB / 0.5236 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.2907, allocations: 13.64 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2907, allocations: 0.8906 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2907, allocations: 1.031 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.2907, allocations: 82.94 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2907, allocations: 1.922 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.2908, allocations: 5.734 kB / 0.5237 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.2908, allocations: 3.391 kB / 0.5237 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001937/0.291, allocations: 148.2 kB / 0.5238 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002206/0.2913, allocations: 257.8 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.4e-05/0.2913, allocations: 15.02 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.2914, allocations: 91.34 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Backend: time 2.7e-07/0.2914, allocations: 3.938 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.2917, allocations: 105.8 kB / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004344/0.2922, allocations: 0.6039 MB / 0.5248 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Templates: time 0.002572/0.2948, allocations: 0.5849 MB / 0.5254 GB, free: 15.12 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