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.001228/0.001228, allocations: 107.8 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001372, allocations: 211.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002412/0.3173, allocations: 1.567 MB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.3175, allocations: 77.47 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.3176, allocations: 1.375 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.924e-05/0.3177, allocations: 9.312 kB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.3177, allocations: 3.938 kB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.3178, allocations: 21.47 kB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3179, allocations: 41.59 kB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.318, allocations: 5.5 kB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.3181, allocations: 16.05 kB / 0.5333 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.3181, allocations: 12.06 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3182, allocations: 6.688 kB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.3182, allocations: 6.75 kB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3182, allocations: 9.359 kB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.3182, allocations: 14.62 kB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.3183, allocations: 37.45 kB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3183, allocations: 0 / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3183, allocations: 0 / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3183, allocations: 0 / 0.5334 GB, free: 12.19 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.0003984/0.3187, allocations: 347.7 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3188, allocations: 9.625 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3188, allocations: 7.594 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.319, allocations: 189 kB / 0.534 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.319, allocations: 1.75 kB / 0.534 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3191, allocations: 7.125 kB / 0.534 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3192, allocations: 73.05 kB / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3192, allocations: 1.531 kB / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3192, allocations: 11.88 kB / 0.534 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3193, allocations: 9.328 kB / 0.5341 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.626e-05/0.3193, allocations: 25.11 kB / 0.5341 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3198, allocations: 437 kB / 0.5345 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.32, allocations: 46.53 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.32, allocations: 20.28 kB / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.32, allocations: 0 / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3201, allocations: 32.31 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.3201, allocations: 0 / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004284/0.3205, allocations: 111.1 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.3205, allocations: 56.78 kB / 0.5348 GB, free: 10.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.3206, allocations: 114.8 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3206, allocations: 25.7 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.3207, allocations: 91.17 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.3207, allocations: 20.77 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3208, allocations: 18.69 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3209, allocations: 321.2 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.911e-05/0.3209, allocations: 15.97 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.321, allocations: 39.11 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3211, allocations: 59.17 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3211, allocations: 4 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001509/0.3213, allocations: 93.17 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3213, allocations: 5.719 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3213, allocations: 5.391 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3213, allocations: 1.375 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.3214, allocations: 9.594 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3214, allocations: 1.125 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.3214, allocations: 2.594 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3214, allocations: 10.58 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 7.925e-05/0.3215, allocations: 121.3 kB / 0.5357 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3216, allocations: 2.281 kB / 0.5357 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3216, allocations: 9.062 kB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3216, allocations: 1.469 kB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3216, allocations: 0 / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.3216, allocations: 82.05 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3217, allocations: 5.062 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.3217, allocations: 17.98 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.3217, allocations: 5.375 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002158/0.322, allocations: 151.2 kB / 0.5359 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002379/0.3222, allocations: 249.6 kB / 0.5362 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.974e-05/0.3223, allocations: 21.08 kB / 0.5362 GB, free: 9.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.3223, allocations: 94.77 kB / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3223, allocations: 0 / 0.5363 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.3227, allocations: 96.77 kB / 0.5364 GB, free: 9.238 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004629/0.3231, allocations: 0.5925 MB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of Templates: time 0.002463/0.3256, allocations: 0.531 MB / 0.5375 GB, free: 8.352 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