Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 112 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.199/0.199, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3048, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002544/0.3074, allocations: 1.562 MB / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002393/0.3076, allocations: 77.28 kB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.3077, allocations: 5.844 kB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.782e-05/0.3078, allocations: 7.938 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.3078, allocations: 3.938 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.3079, allocations: 17.75 kB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3081, allocations: 41.41 kB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.3082, allocations: 9.156 kB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.3082, allocations: 16.36 kB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.3083, allocations: 12.53 kB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3083, allocations: 1.562 kB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.3083, allocations: 3.125 kB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3083, allocations: 9.453 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.3083, allocations: 14.78 kB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.3084, allocations: 42.34 kB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3085, allocations: 0 / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3085, allocations: 0 / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3085, allocations: 0 / 0.5334 GB, free: 12.21 MB / 398.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.0004082/0.3089, allocations: 359.6 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3089, allocations: 9.562 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.309, allocations: 7.828 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3092, allocations: 174 kB / 0.534 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3092, allocations: 7.062 kB / 0.534 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3092, allocations: 1.688 kB / 0.534 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3094, allocations: 79.03 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3094, allocations: 8.172 kB / 0.534 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3094, allocations: 8.766 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3094, allocations: 1.062 kB / 0.5341 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.3095, allocations: 22.14 kB / 0.5341 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.3101, allocations: 452.5 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.3102, allocations: 42.81 kB / 0.5346 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.3103, allocations: 20.12 kB / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3103, allocations: 3.938 kB / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/0.3104, allocations: 36.34 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3104, allocations: 0 / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004354/0.3108, allocations: 106.8 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3109, allocations: 56.72 kB / 0.5348 GB, free: 10.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.311, allocations: 114.2 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.311, allocations: 25.7 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.3111, allocations: 90.84 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3111, allocations: 18.58 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3111, allocations: 17.84 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3112, allocations: 329.5 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.3113, allocations: 12.25 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.3114, allocations: 38.42 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3115, allocations: 62.61 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3115, allocations: 5.312 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000149/0.3116, allocations: 81.19 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3117, allocations: 5.5 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3117, allocations: 3.984 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3117, allocations: 2.75 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.3118, allocations: 13.56 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3118, allocations: 5.469 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.3118, allocations: 6.75 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3118, allocations: 6.734 kB / 0.5356 GB, free: 10.03 MB / 398.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 8.234e-05/0.3119, allocations: 120.5 kB / 0.5357 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3119, allocations: 7.078 kB / 0.5357 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.312, allocations: 5.281 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.312, allocations: 0 / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.312, allocations: 0 / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.312, allocations: 82.42 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.312, allocations: 5.375 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.3121, allocations: 13.67 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3121, allocations: 1.375 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002132/0.3124, allocations: 151 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002488/0.3126, allocations: 258.4 kB / 0.5362 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.672e-05/0.3127, allocations: 16.23 kB / 0.5362 GB, free: 9.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.3127, allocations: 91.52 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of Backend: time 3.1e-07/0.3127, allocations: 3.938 kB / 0.5363 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3131, allocations: 92.52 kB / 0.5364 GB, free: 9.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005271/0.3136, allocations: 0.5949 MB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of Templates: time 0.00239/0.316, allocations: 0.5216 MB / 0.5375 GB, free: 8.363 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches