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.0013/0.0013, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001579, allocations: 79.81 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4979, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.006301/0.5043, allocations: 1.56 MB / 0.5325 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004142/0.5048, allocations: 77.52 kB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.5049, allocations: 1.219 kB / 0.5326 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.5051, allocations: 7.922 kB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.5052, allocations: 5.062 kB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.5054, allocations: 20.58 kB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.5056, allocations: 38.81 kB / 0.5326 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.5058, allocations: 12.39 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.5059, allocations: 20.44 kB / 0.5327 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.506, allocations: 15.95 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.506, allocations: 2.125 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.506, allocations: 2.781 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.5061, allocations: 5.719 kB / 0.5327 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.5061, allocations: 18.83 kB / 0.5327 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.5063, allocations: 37.88 kB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5063, allocations: 0 / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5063, allocations: 1.469 kB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.5063, allocations: 0 / 0.5328 GB, free: 12.18 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.0006735/0.507, allocations: 354.8 kB / 0.5331 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5071, allocations: 13.19 kB / 0.5331 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.5072, allocations: 8.422 kB / 0.5331 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5075, allocations: 175.6 kB / 0.5333 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.5075, allocations: 384 / 0.5333 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.5076, allocations: 3.969 kB / 0.5333 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.5078, allocations: 73.34 kB / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5079, allocations: 192 / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5079, allocations: 5.719 kB / 0.5334 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5079, allocations: 3.938 kB / 0.5334 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.5081, allocations: 22.48 kB / 0.5334 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.5088, allocations: 464.5 kB / 0.5338 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.5091, allocations: 38.75 kB / 0.5339 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.5091, allocations: 15.73 kB / 0.5339 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.5092, allocations: 0 / 0.5339 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.5092, allocations: 36.02 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.828e-06/0.5092, allocations: 3.984 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006219/0.5099, allocations: 108.1 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5099, allocations: 52.78 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5101, allocations: 118.2 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5101, allocations: 25.7 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.5102, allocations: 90.84 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.5102, allocations: 17.59 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.5103, allocations: 27.2 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5104, allocations: 320.1 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.5105, allocations: 17.61 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.5106, allocations: 40.98 kB / 0.5347 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5107, allocations: 63.98 kB / 0.5348 GB, free: 10.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5107, allocations: 1.375 kB / 0.5348 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000202/0.511, allocations: 89.12 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.511, allocations: 5.5 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.511, allocations: 0 / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.511, allocations: 1.375 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.5111, allocations: 15.08 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5111, allocations: 9.312 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.5112, allocations: 2.75 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5112, allocations: 1.375 kB / 0.5349 GB, free: 10.01 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 0.0001131/0.5113, allocations: 121.8 kB / 0.535 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.5114, allocations: 5.328 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.5114, allocations: 13.27 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5114, allocations: 1.375 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5114, allocations: 0 / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5115, allocations: 5.375 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.5117, allocations: 169.8 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5117, allocations: 1.375 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.5118, allocations: 8.25 kB / 0.5352 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5118, allocations: 4 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5118, allocations: 5.359 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5119, allocations: 0 / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5119, allocations: 0 / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.5122, allocations: 179 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.5122, allocations: 82.44 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.5123, allocations: 9.359 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.5124, allocations: 1.375 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.5124, allocations: 1.797 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.5124, allocations: 1.375 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.72e-05/0.5125, allocations: 91.52 kB / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5125, allocations: 0 / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.5128, allocations: 5.5 kB / 0.5356 GB, free: 9.301 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 0.000115/0.5129, allocations: 98.53 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.5132, allocations: 48.64 kB / 0.5357 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5132, allocations: 3.938 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/0.5133, allocations: 15 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.5136, allocations: 12.11 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.5141, allocations: 160.2 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.5145, allocations: 0.6861 MB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.5145, allocations: 2.75 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.5146, allocations: 10.19 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5146, allocations: 0 / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of Templates: time 0.002987/0.5176, allocations: 454.6 kB / 0.537 GB, free: 8.082 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/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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches