Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001114, allocations: 118.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.001378/0.001378, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2854, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001945/0.2873, allocations: 0.8109 MB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001689/0.2875, allocations: 46.09 kB / 0.5325 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.2876, allocations: 0 / 0.5325 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.984e-05/0.2877, allocations: 9.625 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.586e-05/0.2877, allocations: 3.938 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.55e-05/0.2878, allocations: 25.09 kB / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.971e-05/0.2879, allocations: 36.8 kB / 0.5326 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.288, allocations: 26.59 kB / 0.5326 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.056e-05/0.288, allocations: 7.438 kB / 0.5326 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.436e-05/0.2881, allocations: 15.86 kB / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2881, allocations: 4.125 kB / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-06/0.2881, allocations: 3.062 kB / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.2881, allocations: 6.672 kB / 0.5326 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.2882, allocations: 23.75 kB / 0.5326 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.876e-05/0.2882, allocations: 42.89 kB / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2883, allocations: 0 / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2883, allocations: 0 / 0.5327 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.2883, allocations: 0 / 0.5327 GB, free: 12.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003719/0.2886, allocations: 353.2 kB / 0.533 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2887, allocations: 7.125 kB / 0.533 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.2887, allocations: 8.062 kB / 0.533 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2889, allocations: 173.6 kB / 0.5332 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2889, allocations: 9.75 kB / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.289, allocations: 7.031 kB / 0.5332 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.2891, allocations: 49.25 kB / 0.5333 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2891, allocations: 1.562 kB / 0.5333 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2891, allocations: 7.922 kB / 0.5333 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2891, allocations: 5.312 kB / 0.5333 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.2891, allocations: 12.25 kB / 0.5333 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.2896, allocations: 287.3 kB / 0.5336 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.313e-05/0.2896, allocations: 32.02 kB / 0.5336 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.2896, allocations: 7.609 kB / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.2897, allocations: 0 / 0.5336 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.453e-05/0.2897, allocations: 50.28 kB / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2897, allocations: 0 / 0.5337 GB, free: 11.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001196/0.2899, allocations: 51.38 kB / 0.5337 GB, free: 11.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2899, allocations: 55.41 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.29, allocations: 115.2 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.29, allocations: 27.02 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.2901, allocations: 94.03 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.2901, allocations: 13.84 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.2901, allocations: 13.47 kB / 0.534 GB, free: 11.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2902, allocations: 324.2 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.2902, allocations: 2.906 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.2903, allocations: 22.72 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.2903, allocations: 31.3 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2903, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.759e-05/0.2904, allocations: 56.12 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2904, allocations: 5.844 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2904, allocations: 7.922 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2905, allocations: 1.438 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.2905, allocations: 6.938 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2905, allocations: 4.844 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.2905, allocations: 5.719 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.2906, allocations: 1.938 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.873e-05/0.2906, allocations: 116.5 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.2906, allocations: 2.5 kB / 0.5346 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.2907, allocations: 9.547 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2907, allocations: 4 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2907, allocations: 0 / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2907, allocations: 86.33 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2907, allocations: 8.844 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.369e-05/0.2908, allocations: 1.344 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.2908, allocations: 1.75 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001397/0.2909, allocations: 129.7 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001516/0.2911, allocations: 228.4 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.715e-05/0.2911, allocations: 17.27 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.777e-05/0.2912, allocations: 86.69 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.2912, allocations: 1.406 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.2915, allocations: 90.59 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004387/0.2919, allocations: 0.5879 MB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of Templates: time 0.002279/0.2942, allocations: 0.5325 MB / 0.5363 GB, free: 9.32 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches