Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001393/0.001393, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001576/0.001576, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.543/1.543, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.08697/0.08697, allocations: 6.501 MB / 265.7 MB, free: 10.27 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 392.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.364e-05, allocations: 2.281 kB / 392.2 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.007762/0.007796, allocations: 4.809 MB / 397 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.01152, allocations: 1.593 MB / 398.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.01222, allocations: 15.94 kB / 398.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.0128, allocations: 202.5 kB / 398.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008472/0.01364, allocations: 293.9 kB / 399.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.01451, allocations: 374.7 kB / 399.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.01564, allocations: 0.9817 MB / 400.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005505/0.01619, allocations: 311.5 kB / 400.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008441/0.01703, allocations: 0.569 MB / 401.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.01755, allocations: 315 kB / 401.6 MB, free: 244 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.0177, allocations: 104 kB / 401.7 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.01803, allocations: 144 kB / 401.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.01828, allocations: 211.2 kB / 402 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.01866, allocations: 287.3 kB / 402.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.02031, allocations: 1.149 MB / 403.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.02032, allocations: 4 kB / 403.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.02032, allocations: 0 / 403.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.02034, allocations: 0 / 403.5 MB, free: 14.35 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002277/0.02262, allocations: 1.138 MB / 404.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.02266, allocations: 8.031 kB / 404.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.02285, allocations: 100.3 kB / 404.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.02369, allocations: 463.2 kB / 405.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.02384, allocations: 113.3 kB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.02397, allocations: 80.31 kB / 405.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.02551, allocations: 0.8117 MB / 406.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.02554, allocations: 0 / 406.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.02562, allocations: 32 kB / 406.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.02563, allocations: 16 kB / 406.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.02706, allocations: 0.5784 MB / 406.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.03087, allocations: 2.188 MB / 409 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.03202, allocations: 422.3 kB / 409.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.03253, allocations: 232.4 kB / 409.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.03257, allocations: 8.281 kB / 409.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007546/0.03333, allocations: 393.4 kB / 410 MB, free: 7.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.03333, allocations: 0 / 410 MB, free: 7.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001973/0.0353, allocations: 0.7812 MB / 410.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.03544, allocations: 144.5 kB / 410.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006668/0.0361, allocations: 0.5175 MB / 411.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.03616, allocations: 37.8 kB / 411.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.03648, allocations: 384.3 kB / 411.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.03661, allocations: 130.9 kB / 412 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.03678, allocations: 94.19 kB / 412.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.03698, allocations: 370.7 kB / 412.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.03755, allocations: 271.8 kB / 412.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.03831, allocations: 417.4 kB / 413.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.03966, allocations: 0.5999 MB / 413.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.03967, allocations: 4 kB / 413.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001791/0.04146, allocations: 0.7632 MB / 414.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.04156, allocations: 89.11 kB / 414.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.04157, allocations: 8.375 kB / 414.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.04177, allocations: 32.84 kB / 414.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.04222, allocations: 95.88 kB / 414.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.04343, allocations: 1.249 MB / 416 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.04395, allocations: 83.73 kB / 416 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.04401, allocations: 35.97 kB / 416.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008074/0.04482, allocations: 426.1 kB / 416.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006214/0.04544, allocations: 401.4 kB / 416.9 MB, free: 68 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001102/0.04654, allocations: 0.5864 MB / 417.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.712e-06/0.04655, allocations: 7.922 kB / 417.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001501/0.04805, allocations: 0.7379 MB / 418.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.04812, allocations: 89.11 kB / 418.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.04812, allocations: 4 kB / 418.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.04823, allocations: 28.84 kB / 418.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.04864, allocations: 100.2 kB / 418.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.04976, allocations: 1.252 MB / 419.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.05027, allocations: 67.73 kB / 419.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.05033, allocations: 20.16 kB / 419.8 MB, free: 12.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.05064, allocations: 272.2 kB / 420 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.05077, allocations: 55.67 kB / 420.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.05233, allocations: 0.5966 MB / 420.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.05234, allocations: 8 kB / 420.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.05234, allocations: 0 / 420.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.05235, allocations: 0 / 420.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.0546, allocations: 1.115 MB / 421.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.0546, allocations: 3.984 kB / 421.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.05501, allocations: 71.83 kB / 421.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.05513, allocations: 20.84 kB / 421.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.05517, allocations: 12 kB / 421.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.0563, allocations: 1.252 MB / 423.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.0563, allocations: 4.156 kB / 423.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.05827, allocations: 0.9489 MB / 424.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.05851, allocations: 99.44 kB / 424.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.05858, allocations: 12 kB / 424.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.05903, allocations: 47.94 kB / 424.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.05916, allocations: 39.88 kB / 424.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.05919, allocations: 8 kB / 424.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005083/0.0597, allocations: 366.9 kB / 424.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0597, allocations: 0 / 424.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001013/0.06072, allocations: 311 kB / 425 MB, free: 7.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/0.0622, allocations: 393 kB / 425.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.06501, allocations: 1.442 MB / 426.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.06502, allocations: 0 / 426.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008488/0.06587, allocations: 488.6 kB / 427.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007095/0.06658, allocations: 92.97 kB / 427.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.0698, allocations: 1.25 MB / 428.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.07023, allocations: 325.3 kB / 428.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.07057, allocations: 75.16 kB / 429 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.07072, allocations: 36.5 kB / 429.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.07072, allocations: 0 / 429.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of Templates: time 0.01658/0.0873, allocations: 7.027 MB / 436.1 MB, free: 12.28 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.143269896507263] Failed to read output from testmodel.py, exit status != 0: 0.09660163521766663 0.33870837600000003 0.08857023600000001 Calling exit ...