Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 46.97 MB / 361.6 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003113/0.003113, allocations: 63.91 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3042, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002986/0.3072, allocations: 1.628 MB / 0.5634 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3082, allocations: 0.5542 MB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.3083, allocations: 7.938 kB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.3084, allocations: 7.875 kB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.3085, allocations: 19.86 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3088, allocations: 87.27 kB / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3089, allocations: 119.7 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.309, allocations: 26.64 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.3091, allocations: 47.78 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.3092, allocations: 35.84 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3092, allocations: 12 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.3092, allocations: 8 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.3093, allocations: 27.91 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3093, allocations: 31.8 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3095, allocations: 91.34 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3095, allocations: 0 / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3095, allocations: 0 / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.3095, allocations: 0 / 0.5644 GB, free: 1.445 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006496/0.3101, allocations: 354.7 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3102, allocations: 8.031 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3102, allocations: 8.891 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3105, allocations: 153.3 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3105, allocations: 4.375 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3105, allocations: 8.375 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3108, allocations: 113.9 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3108, allocations: 0 / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3108, allocations: 0 / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3108, allocations: 7.938 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.311, allocations: 47.97 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.3116, allocations: 316.2 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.3119, allocations: 98.5 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.312, allocations: 32.92 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3121, allocations: 0 / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.3123, allocations: 107.3 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3123, allocations: 3.938 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004616/0.3128, allocations: 141.5 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3128, allocations: 51.41 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3129, allocations: 138 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.313, allocations: 29.7 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.313, allocations: 100.3 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.3131, allocations: 23.92 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3131, allocations: 29.7 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3133, allocations: 322.8 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3134, allocations: 35.98 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3135, allocations: 53.62 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.3137, allocations: 77.67 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3137, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002949/0.314, allocations: 117.5 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.314, allocations: 4 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3141, allocations: 288 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3141, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3142, allocations: 23.95 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3142, allocations: 7.938 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.3143, allocations: 15.92 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.3143, allocations: 4 kB / 0.5668 GB, free: 14.86 MB / 414.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,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$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.608e-05/0.3144, allocations: 121.8 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3144, allocations: 11.94 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.3144, allocations: 8.719 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3144, allocations: 0 / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3144, allocations: 8 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.3145, allocations: 7.891 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3145, allocations: 4 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3146, allocations: 23.97 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3146, allocations: 11.98 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000692/0.3153, allocations: 260.8 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005085/0.3158, allocations: 326.6 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001343/0.316, allocations: 40 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.316, allocations: 106.4 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Backend: time 2.11e-07/0.316, allocations: 4 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.3165, allocations: 121.3 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006262/0.3171, allocations: 0.6362 MB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004404/0.3215, allocations: 1.497 MB / 0.5699 GB, free: 11.63 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.610953392002557] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y'] 0.3314985430042725 0.34432394 0.031776138 Calling exit ...