Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.0009787/0.0009787, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009928/0.0009928, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9825/0.9825, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0256/0.0256, allocations: 6.487 MB / 267.5 MB, free: 6.477 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.321e-05, allocations: 6.312 kB / 339.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.004909/0.004932, allocations: 5.021 MB / 344.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.007753, allocations: 2.329 MB / 346.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/0.008229, allocations: 19.94 kB / 346.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.008683, allocations: 226.3 kB / 346.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007678/0.009451, allocations: 341.7 kB / 347.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.01023, allocations: 0.499 MB / 347.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007992/0.01103, allocations: 1.067 MB / 348.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.01144, allocations: 332.5 kB / 349.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.01209, allocations: 0.612 MB / 349.7 MB, free: 8 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005021/0.01259, allocations: 366.9 kB / 350.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.01271, allocations: 116 kB / 350.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.01309, allocations: 255.7 kB / 350.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.0133, allocations: 271.1 kB / 350.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.01355, allocations: 323.2 kB / 351 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.01457, allocations: 0.8564 MB / 351.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01457, allocations: 0 / 351.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01457, allocations: 0 / 351.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.01459, allocations: 0 / 351.9 MB, free: 13.84 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001596/0.01619, allocations: 1.406 MB / 353.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01622, allocations: 12.02 kB / 353.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.01642, allocations: 164.3 kB / 353.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.017, allocations: 0.5468 MB / 354 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.0171, allocations: 106 kB / 354.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.01718, allocations: 76.33 kB / 354.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.01784, allocations: 0.6864 MB / 354.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.01787, allocations: 3.984 kB / 354.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.01791, allocations: 32 kB / 354.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.01793, allocations: 16 kB / 354.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.01823, allocations: 260.3 kB / 355.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.02046, allocations: 2.324 MB / 357.5 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.02083, allocations: 259.9 kB / 357.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.02095, allocations: 135.3 kB / 357.9 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.02098, allocations: 8.281 kB / 357.9 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.02123, allocations: 296.9 kB / 358.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.493e-06/0.02123, allocations: 0 / 358.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006725/0.0219, allocations: 0.5338 MB / 358.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.02197, allocations: 187.9 kB / 358.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.02244, allocations: 0.6318 MB / 359.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.02248, allocations: 37.7 kB / 359.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.02273, allocations: 491 kB / 360.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.02281, allocations: 130.9 kB / 360.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.02296, allocations: 111.9 kB / 360.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.02313, allocations: 0.5585 MB / 360.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.02326, allocations: 167.3 kB / 361 MB, free: 4.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.0235, allocations: 423.5 kB / 361.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.02382, allocations: 451.4 kB / 361.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.02382, allocations: 4 kB / 361.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005438/0.02436, allocations: 0.5849 MB / 362.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.02442, allocations: 97.09 kB / 362.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.02443, allocations: 0 / 362.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.02454, allocations: 35.59 kB / 362.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.02476, allocations: 103.9 kB / 362.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007716/0.02553, allocations: 1.721 MB / 364.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.02576, allocations: 67.64 kB / 364.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.02579, allocations: 16 kB / 364.5 MB, free: 320 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002215/0.02601, allocations: 285.2 kB / 364.8 MB, free: 8 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000217/0.02623, allocations: 419.4 kB / 365.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002827/0.02651, allocations: 455.7 kB / 365.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.02651, allocations: 0 / 365.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0005024/0.02701, allocations: 0.5889 MB / 366.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.02706, allocations: 93.14 kB / 366.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.02706, allocations: 7.938 kB / 366.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-05/0.02713, allocations: 23.67 kB / 366.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.02731, allocations: 103.8 kB / 366.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/0.02801, allocations: 1.725 MB / 368.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.02822, allocations: 67.64 kB / 368.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.02824, allocations: 16 kB / 368.2 MB, free: 12.14 MB / 298.7 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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * 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.0001771/0.02842, allocations: 365.3 kB / 368.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.0285, allocations: 83.58 kB / 368.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.02891, allocations: 427.2 kB / 369.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02892, allocations: 7.984 kB / 369.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.02892, allocations: 0 / 369.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.02892, allocations: 0 / 369.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.02987, allocations: 0.9578 MB / 370.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02987, allocations: 0 / 370.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.03003, allocations: 63.89 kB / 370.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-05/0.03009, allocations: 15.69 kB / 370.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.03011, allocations: 15.98 kB / 370.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006797/0.03079, allocations: 1.701 MB / 371.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.03079, allocations: 0 / 371.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.03137, allocations: 0.702 MB / 372.6 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.0315, allocations: 111.4 kB / 372.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.03155, allocations: 16.12 kB / 372.7 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.03172, allocations: 31.97 kB / 372.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.0318, allocations: 43.81 kB / 372.8 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.03182, allocations: 8 kB / 372.8 MB, free: 7.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.03211, allocations: 394.9 kB / 373.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03211, allocations: 0 / 373.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008045/0.03291, allocations: 366.8 kB / 373.5 MB, free: 6.574 MB / 298.7 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.001583/0.0345, allocations: 0.6832 MB / 374.2 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.03551, allocations: 1.292 MB / 375.5 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.03551, allocations: 11.98 kB / 375.5 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.03578, allocations: 451.5 kB / 375.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.03619, allocations: 109.7 kB / 376 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.03807, allocations: 1.34 MB / 377.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.03819, allocations: 166 kB / 377.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.03839, allocations: 80.34 kB / 377.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.03866, allocations: 206.1 kB / 377.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03867, allocations: 0 / 377.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of Templates: time 0.01426/0.05293, allocations: 10.46 MB / 388.3 MB, free: 7.871 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2177872811444104]