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.001283/0.001283, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001394/0.001394, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2067/0.2067, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3501, allocations: 60.82 MB / 0.5189 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00327/0.3534, allocations: 1.551 MB / 0.5204 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.3537, allocations: 68.67 kB / 0.5205 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.3537, allocations: 1.375 kB / 0.5205 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3539, allocations: 5.297 kB / 0.5205 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.3539, allocations: 5.125 kB / 0.5205 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.3541, allocations: 22.25 kB / 0.5205 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3542, allocations: 39.86 kB / 0.5205 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3543, allocations: 9.781 kB / 0.5205 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.3544, allocations: 10.7 kB / 0.5206 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.3545, allocations: 22.56 kB / 0.5206 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3545, allocations: 2.781 kB / 0.5206 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.3545, allocations: 3.219 kB / 0.5206 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.3545, allocations: 9.75 kB / 0.5206 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.3546, allocations: 17.03 kB / 0.5206 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3547, allocations: 30.19 kB / 0.5206 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3547, allocations: 1.188 kB / 0.5206 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.3547, allocations: 0 / 0.5206 GB, free: 2.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3547, allocations: 4.547 kB / 0.5206 GB, free: 2.348 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.0004189/0.3551, allocations: 352.1 kB / 0.521 GB, free: 1.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3552, allocations: 9.625 kB / 0.521 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3552, allocations: 7.125 kB / 0.521 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.3554, allocations: 190.9 kB / 0.5212 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3554, allocations: 1.844 kB / 0.5212 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3554, allocations: 6.484 kB / 0.5212 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3556, allocations: 68.64 kB / 0.5212 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3556, allocations: 4.188 kB / 0.5213 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3556, allocations: 5 kB / 0.5213 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3556, allocations: 1.312 kB / 0.5213 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/0.3558, allocations: 25.86 kB / 0.5213 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.3562, allocations: 443 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3564, allocations: 45.92 kB / 0.5217 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3564, allocations: 13.84 kB / 0.5218 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3564, allocations: 0.6094 kB / 0.5218 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.3565, allocations: 32.92 kB / 0.5218 GB, free: 1.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3565, allocations: 0 / 0.5218 GB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004685/0.3569, allocations: 120.8 kB / 0.5219 GB, free: 1.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.357, allocations: 52.16 kB / 0.522 GB, free: 1.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.3571, allocations: 112 kB / 0.5221 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.088e-06/0.3571, allocations: 29.7 kB / 0.5221 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.3571, allocations: 96.75 kB / 0.5222 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3571, allocations: 14.27 kB / 0.5222 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.3572, allocations: 20.98 kB / 0.5222 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.3572, allocations: 325.5 kB / 0.5225 GB, free: 444 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.3573, allocations: 16.14 kB / 0.5225 GB, free: 440 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.3573, allocations: 37.83 kB / 0.5226 GB, free: 404 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.805e-05/0.3574, allocations: 60.55 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3574, allocations: 0 / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001478/0.3576, allocations: 92.33 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3576, allocations: 8.344 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3576, allocations: 2.031 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3577, allocations: 0.9688 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.3577, allocations: 11.62 kB / 0.5227 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3577, allocations: 11.17 kB / 0.5228 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.3578, allocations: 2.922 kB / 0.5228 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3578, allocations: 2.031 kB / 0.5228 GB, free: 288 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 5.474e-05/0.3579, allocations: 121.8 kB / 0.5229 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3579, allocations: 2.312 kB / 0.5229 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.3579, allocations: 11.5 kB / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3579, allocations: 0.75 kB / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3579, allocations: 0 / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3579, allocations: 0 / 0.5229 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3581, allocations: 180.4 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3581, allocations: 0 / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.3582, allocations: 10.83 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3582, allocations: 4 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3582, allocations: 1.688 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3583, allocations: 0 / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3583, allocations: 1.344 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.3585, allocations: 184.7 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.3586, allocations: 78.84 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3586, allocations: 1.594 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.3587, allocations: 9.828 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3587, allocations: 3.297 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3587, allocations: 2.031 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.3588, allocations: 89.55 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3588, allocations: 0 / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.359, allocations: 9.844 kB / 0.5234 GB, free: 15.59 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 9.322e-05/0.3591, allocations: 96.52 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3593, allocations: 45.58 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3593, allocations: 1.375 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.3593, allocations: 13.06 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3596, allocations: 9.75 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.36, allocations: 159.9 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3603, allocations: 0.6908 MB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.3604, allocations: 3.375 kB / 0.5244 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.3604, allocations: 10.22 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of SimCode: time 3.967e-06/0.3604, allocations: 1.219 kB / 0.5244 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Templates: time 0.002867/0.3633, allocations: 0.5293 MB / 0.525 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches