Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 177.7 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.7 MB / 243.9 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007593, allocations: 95.59 kB / 295 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3123/0.3123, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 8 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3769, allocations: 61.91 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001604/0.3786, allocations: 1.252 MB / 0.514 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001926/0.3788, allocations: 55.73 kB / 0.514 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.3789, allocations: 2.656 kB / 0.514 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.379, allocations: 3.938 kB / 0.514 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.3791, allocations: 7.312 kB / 0.514 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.3792, allocations: 16.97 kB / 0.514 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.3793, allocations: 37.42 kB / 0.5141 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.3794, allocations: 9.438 kB / 0.5141 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.172e-05/0.3794, allocations: 14.05 kB / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.3795, allocations: 13.52 kB / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3795, allocations: 0 / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.3795, allocations: 3.938 kB / 0.5141 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.3796, allocations: 6.719 kB / 0.5141 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.3796, allocations: 40.09 kB / 0.5142 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.805e-05/0.3797, allocations: 32.36 kB / 0.5142 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3797, allocations: 0 / 0.5142 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3797, allocations: 0 / 0.5142 GB, free: 36.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3797, allocations: 4 kB / 0.5142 GB, free: 36.77 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.0003965/0.3801, allocations: 345.1 kB / 0.5145 GB, free: 36.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3802, allocations: 13.19 kB / 0.5145 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.3802, allocations: 3.938 kB / 0.5145 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3804, allocations: 178.7 kB / 0.5147 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3804, allocations: 3.5 kB / 0.5147 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3804, allocations: 3.406 kB / 0.5147 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3806, allocations: 78.84 kB / 0.5148 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3806, allocations: 192 / 0.5148 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.3806, allocations: 3.938 kB / 0.5148 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3806, allocations: 0 / 0.5148 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.3807, allocations: 29.47 kB / 0.5148 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.3811, allocations: 455 kB / 0.5153 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3813, allocations: 49.03 kB / 0.5153 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.3813, allocations: 25.42 kB / 0.5153 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3814, allocations: 3.234 kB / 0.5153 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.3814, allocations: 30.56 kB / 0.5154 GB, free: 35.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.3814, allocations: 0 / 0.5154 GB, free: 35.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004383/0.3818, allocations: 121.7 kB / 0.5155 GB, free: 35.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.3819, allocations: 51.41 kB / 0.5155 GB, free: 35.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.3819, allocations: 116.8 kB / 0.5156 GB, free: 35.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.505e-06/0.3819, allocations: 28.89 kB / 0.5157 GB, free: 35.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.382, allocations: 88.05 kB / 0.5157 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.382, allocations: 19.53 kB / 0.5158 GB, free: 35.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.382, allocations: 0 / 0.5158 GB, free: 35.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.3821, allocations: 322.1 kB / 0.5161 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.3821, allocations: 16.14 kB / 0.5161 GB, free: 34.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.3822, allocations: 45.41 kB / 0.5161 GB, free: 34.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.3823, allocations: 61.62 kB / 0.5162 GB, free: 34.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3823, allocations: 0 / 0.5162 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001403/0.3824, allocations: 91.83 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3825, allocations: 6.672 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3825, allocations: 4.094 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3825, allocations: 3 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.3825, allocations: 10.95 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3826, allocations: 2.938 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.3826, allocations: 4.172 kB / 0.5163 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3826, allocations: 2.75 kB / 0.5163 GB, free: 34.73 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.272e-05/0.3827, allocations: 122 kB / 0.5164 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.3827, allocations: 10.72 kB / 0.5164 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.3827, allocations: 12.75 kB / 0.5165 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3827, allocations: 3.578 kB / 0.5165 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3828, allocations: 0 / 0.5165 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3828, allocations: 0 / 0.5165 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3829, allocations: 170.8 kB / 0.5166 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3829, allocations: 0 / 0.5166 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.383, allocations: 11.78 kB / 0.5166 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.383, allocations: 2.969 kB / 0.5166 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.383, allocations: 0 / 0.5166 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.383, allocations: 0.6094 kB / 0.5166 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.383, allocations: 7.938 kB / 0.5166 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3832, allocations: 190.3 kB / 0.5168 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3833, allocations: 84.02 kB / 0.5169 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3833, allocations: 3.938 kB / 0.5169 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.3834, allocations: 4.844 kB / 0.5169 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3834, allocations: 9.312 kB / 0.5169 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3834, allocations: 2.281 kB / 0.5169 GB, free: 34.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.431e-05/0.3834, allocations: 89.14 kB / 0.517 GB, free: 34.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3834, allocations: 0 / 0.517 GB, free: 34.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.3836, allocations: 6.5 kB / 0.517 GB, free: 34.04 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 9.454e-05/0.3837, allocations: 105.8 kB / 0.5171 GB, free: 33.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3839, allocations: 44.98 kB / 0.5172 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3839, allocations: 0 / 0.5172 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.384, allocations: 20.53 kB / 0.5172 GB, free: 33.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3843, allocations: 9.094 kB / 0.5172 GB, free: 33.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.3847, allocations: 183.5 kB / 0.5174 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3848, allocations: 0.6885 MB / 0.518 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.3848, allocations: 3.094 kB / 0.518 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.3849, allocations: 7.438 kB / 0.518 GB, free: 33.06 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3849, allocations: 3 kB / 0.518 GB, free: 33.06 MB / 378.7 MB Notification: Performance of Templates: time 0.002213/0.3871, allocations: 467.3 kB / 0.5185 GB, free: 32.99 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/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