Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 108.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1934/0.1934, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2855, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003132/0.2887, allocations: 1.631 MB / 0.5211 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2897, allocations: 0.5484 MB / 0.5217 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2898, allocations: 2.219 kB / 0.5217 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.29, allocations: 14.3 kB / 0.5217 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.2901, allocations: 19.91 kB / 0.5217 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.2904, allocations: 87.8 kB / 0.5218 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.2906, allocations: 114.3 kB / 0.5219 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2908, allocations: 24.89 kB / 0.5219 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.2909, allocations: 44.22 kB / 0.522 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.2909, allocations: 51.39 kB / 0.522 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.291, allocations: 15.72 kB / 0.522 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.291, allocations: 8.312 kB / 0.522 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.291, allocations: 19.23 kB / 0.5221 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.2911, allocations: 40.86 kB / 0.5221 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2912, allocations: 88.02 kB / 0.5222 GB, free: 2.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2912, allocations: 1.156 kB / 0.5222 GB, free: 2.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2912, allocations: 0 / 0.5222 GB, free: 2.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2913, allocations: 0 / 0.5222 GB, free: 2.082 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000549/0.2918, allocations: 412.5 kB / 0.5226 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2919, allocations: 9.641 kB / 0.5226 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2919, allocations: 10.28 kB / 0.5226 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.2922, allocations: 218.4 kB / 0.5228 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2922, allocations: 8.234 kB / 0.5228 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2922, allocations: 5.656 kB / 0.5228 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2925, allocations: 106.5 kB / 0.5229 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2925, allocations: 0 / 0.5229 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2926, allocations: 5.719 kB / 0.5229 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2926, allocations: 1.188 kB / 0.5229 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.2927, allocations: 50.97 kB / 0.523 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.2934, allocations: 386.7 kB / 0.5233 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.2937, allocations: 108.6 kB / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2939, allocations: 33.94 kB / 0.5235 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.2939, allocations: 4 kB / 0.5235 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.2941, allocations: 96.66 kB / 0.5236 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2942, allocations: 1.156 kB / 0.5236 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004976/0.2947, allocations: 145.4 kB / 0.5237 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.2947, allocations: 58.02 kB / 0.5238 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2948, allocations: 151.2 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2949, allocations: 30.92 kB / 0.524 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.2949, allocations: 99.05 kB / 0.524 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2949, allocations: 20.67 kB / 0.5241 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.295, allocations: 27.84 kB / 0.5241 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.295, allocations: 320.3 kB / 0.5244 GB, free: 224 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.2952, allocations: 43 kB / 0.5244 GB, free: 208 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2953, allocations: 48.97 kB / 0.5245 GB, free: 184 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.2955, allocations: 83.83 kB / 0.5246 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2955, allocations: 0 / 0.5246 GB, free: 144 kB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002816/0.2958, allocations: 119.2 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2958, allocations: 4.406 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2958, allocations: 9.641 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2959, allocations: 1.031 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.296, allocations: 15.81 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.296, allocations: 4.938 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/0.2961, allocations: 18.06 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2961, allocations: 1.719 kB / 0.5247 GB, free: 72 kB / 382.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: 7 ($whenCondition1,change.u,$PRE.change.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 9.861e-05/0.2962, allocations: 130.4 kB / 0.5249 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.2962, allocations: 9.953 kB / 0.5249 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.2963, allocations: 15.33 kB / 0.5249 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2963, allocations: 2.016 kB / 0.5249 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2963, allocations: 0.5625 kB / 0.5249 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.2964, allocations: 89.02 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2964, allocations: 0.6562 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2965, allocations: 21.8 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.2966, allocations: 10.5 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006864/0.2973, allocations: 272.4 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004981/0.2978, allocations: 329.9 kB / 0.5256 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001363/0.2979, allocations: 39.11 kB / 0.5256 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.298, allocations: 114.6 kB / 0.5257 GB, free: 15.34 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.298, allocations: 1.5 kB / 0.5257 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.2985, allocations: 124.8 kB / 0.5258 GB, free: 15.26 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006336/0.2991, allocations: 0.6574 MB / 0.5265 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Templates: time 0.004212/0.3034, allocations: 1.419 MB / 0.5279 GB, free: 14.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1)