Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 206.8 kB / 19.41 MB, free: 3.648 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.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 62.44 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002711/0.3061, allocations: 1.63 MB / 0.5332 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.307, allocations: 0.5118 MB / 0.5337 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.3071, allocations: 1.812 kB / 0.5337 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.3072, allocations: 21.58 kB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.3073, allocations: 3.938 kB / 0.5338 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3075, allocations: 35.12 kB / 0.5338 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3076, allocations: 78.73 kB / 0.5339 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3077, allocations: 32.52 kB / 0.5339 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.3078, allocations: 25.55 kB / 0.5339 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.3079, allocations: 38.66 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3079, allocations: 6.875 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.3079, allocations: 5.5 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.3079, allocations: 10.75 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.308, allocations: 47.91 kB / 0.534 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3081, allocations: 73.41 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3081, allocations: 1.375 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3081, allocations: 0 / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3081, allocations: 3.938 kB / 0.5341 GB, free: 11.62 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005261/0.3087, allocations: 399.2 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3087, allocations: 8.25 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.3088, allocations: 10.34 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.309, allocations: 189.8 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.309, allocations: 8.5 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.309, allocations: 9.875 kB / 0.5347 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3092, allocations: 75.92 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3092, allocations: 0 / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3092, allocations: 13.36 kB / 0.5348 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3092, allocations: 1.375 kB / 0.5348 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.3093, allocations: 31.23 kB / 0.5348 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.3098, allocations: 351.2 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3099, allocations: 48.42 kB / 0.5352 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.31, allocations: 23.77 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.31, allocations: 0 / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.3101, allocations: 74.44 kB / 0.5353 GB, free: 10.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3101, allocations: 0 / 0.5353 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001896/0.3103, allocations: 83.91 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3104, allocations: 52.78 kB / 0.5354 GB, free: 10.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3105, allocations: 139.2 kB / 0.5356 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3105, allocations: 35.06 kB / 0.5356 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.3106, allocations: 96.17 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3106, allocations: 18.55 kB / 0.5357 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3106, allocations: 25.97 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3107, allocations: 324.1 kB / 0.536 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.3108, allocations: 13.62 kB / 0.5361 GB, free: 9.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.3108, allocations: 41.55 kB / 0.5361 GB, free: 9.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.3109, allocations: 53.08 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3109, allocations: 0 / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001397/0.3111, allocations: 88.08 kB / 0.5362 GB, free: 9.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3111, allocations: 5.562 kB / 0.5362 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3111, allocations: 8.125 kB / 0.5362 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3111, allocations: 5.406 kB / 0.5362 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.3112, allocations: 14 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3112, allocations: 9.875 kB / 0.5363 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.3113, allocations: 16.75 kB / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3113, allocations: 3.156 kB / 0.5363 GB, free: 9.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,fallingEdge.not_u,$PRE.fallingEdge.not_u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.804e-05/0.3114, allocations: 115.1 kB / 0.5364 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.3114, allocations: 15.41 kB / 0.5364 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.3114, allocations: 10.66 kB / 0.5364 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3114, allocations: 3.938 kB / 0.5364 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3114, allocations: 5.172 kB / 0.5364 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.3115, allocations: 83.48 kB / 0.5365 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3115, allocations: 4 kB / 0.5365 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.3116, allocations: 3.344 kB / 0.5365 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3116, allocations: 11.52 kB / 0.5365 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002086/0.3118, allocations: 158.1 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002262/0.3121, allocations: 269.6 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.295e-05/0.3121, allocations: 27.77 kB / 0.537 GB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.3122, allocations: 104.3 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.3122, allocations: 0 / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.3125, allocations: 99.7 kB / 0.5372 GB, free: 8.699 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005618/0.3131, allocations: 0.638 MB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of Templates: time 0.003224/0.3164, allocations: 0.9981 MB / 0.5388 GB, free: 7.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ResetHoldIntegrator/ResetHoldIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches