Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001254/0.001254, allocations: 80.12 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.001371/0.001371, allocations: 166.5 kB / 22.46 MB, free: 5.355 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.364/1.364, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.0385/0.0385, allocations: 6.488 MB / 265.7 MB, free: 10.28 MB / 254.1 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 392.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.056e-05, allocations: 6.219 kB / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.005733/0.005753, allocations: 4.096 MB / 396.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.009179, allocations: 2.325 MB / 398.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.009438, allocations: 15.94 kB / 398.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.009865, allocations: 166.6 kB / 398.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.01052, allocations: 277.9 kB / 399 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.01124, allocations: 431.3 kB / 399.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.01242, allocations: 0.9814 MB / 400.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005271/0.01295, allocations: 345 kB / 400.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.01366, allocations: 0.573 MB / 401.3 MB, free: 500 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.01408, allocations: 295.1 kB / 401.6 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.01422, allocations: 108 kB / 401.7 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.01445, allocations: 136 kB / 401.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.01472, allocations: 259 kB / 402.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.01507, allocations: 307.3 kB / 402.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.01642, allocations: 1.235 MB / 403.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.01643, allocations: 0 / 403.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01643, allocations: 0 / 403.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.01644, allocations: 0 / 403.6 MB, free: 14.17 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002036/0.01847, allocations: 1.18 MB / 404.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.01851, allocations: 8.031 kB / 404.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.01868, allocations: 100.3 kB / 404.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.01951, allocations: 0.5186 MB / 405.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.01957, allocations: 58.38 kB / 405.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.0197, allocations: 80.33 kB / 405.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.02121, allocations: 0.8371 MB / 406.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.02123, allocations: 7.938 kB / 406.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.02131, allocations: 28 kB / 406.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.02133, allocations: 23.94 kB / 406.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.02267, allocations: 0.5851 MB / 407.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.02649, allocations: 2.268 MB / 409.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.02757, allocations: 414.2 kB / 409.7 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.02806, allocations: 232.4 kB / 410 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.0281, allocations: 7.938 kB / 410 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006921/0.02879, allocations: 386.4 kB / 410.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.0288, allocations: 0 / 410.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00184/0.03064, allocations: 0.7829 MB / 411.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.03074, allocations: 144.5 kB / 411.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/0.03147, allocations: 0.5918 MB / 411.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.03152, allocations: 41.7 kB / 411.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.03183, allocations: 396.2 kB / 412.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.03194, allocations: 127 kB / 412.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.0321, allocations: 94.14 kB / 412.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.03228, allocations: 366.8 kB / 412.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.03282, allocations: 271.8 kB / 413.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.03346, allocations: 413.4 kB / 413.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.03456, allocations: 0.5999 MB / 414.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.03456, allocations: 3.938 kB / 414.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001439/0.036, allocations: 0.752 MB / 414.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.03608, allocations: 93.11 kB / 415 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.03609, allocations: 4 kB / 415 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.03623, allocations: 24.84 kB / 415 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.03663, allocations: 99.81 kB / 415.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.0377, allocations: 1.268 MB / 416.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.03811, allocations: 71.62 kB / 416.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.03816, allocations: 23.98 kB / 416.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007141/0.03888, allocations: 454.8 kB / 416.9 MB, free: 108 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006025/0.03948, allocations: 393.6 kB / 417.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009901/0.04047, allocations: 0.5785 MB / 417.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.04047, allocations: 0 / 417.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001381/0.04185, allocations: 0.7262 MB / 418.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.04192, allocations: 97.03 kB / 418.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.04193, allocations: 4.438 kB / 418.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.087e-05/0.04201, allocations: 28.84 kB / 418.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.04238, allocations: 99.81 kB / 418.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.04346, allocations: 1.26 MB / 420.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.04386, allocations: 71.89 kB / 420.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.0439, allocations: 20 kB / 420.2 MB, free: 12.52 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0002326/0.04413, allocations: 274.5 kB / 420.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.04422, allocations: 63.62 kB / 420.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.04551, allocations: 0.5843 MB / 421.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.04552, allocations: 4 kB / 421.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.04552, allocations: 4 kB / 421.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.04553, allocations: 3.938 kB / 421.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.04749, allocations: 1.135 MB / 422.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.04749, allocations: 4 kB / 422.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.04782, allocations: 63.89 kB / 422.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.34e-05/0.04791, allocations: 28.78 kB / 422.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.04794, allocations: 8 kB / 422.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009868/0.04892, allocations: 1.26 MB / 423.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.04893, allocations: 0 / 423.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.0507, allocations: 0.9484 MB / 424.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.05079, allocations: 63.58 kB / 424.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.172e-05/0.05088, allocations: 12 kB / 424.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.05125, allocations: 43.95 kB / 424.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.05136, allocations: 35.88 kB / 424.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.0514, allocations: 8 kB / 424.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005264/0.05193, allocations: 434.8 kB / 425.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05193, allocations: 4 kB / 425.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008279/0.05275, allocations: 326.9 kB / 425.4 MB, free: 6.965 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.001399/0.05415, allocations: 397.1 kB / 425.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.05645, allocations: 1.435 MB / 427.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.05645, allocations: 0 / 427.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.05718, allocations: 481.5 kB / 427.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.05773, allocations: 87.2 kB / 427.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.05992, allocations: 1.347 MB / 429.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.06027, allocations: 342 kB / 429.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.06049, allocations: 71.34 kB / 429.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.06061, allocations: 36.48 kB / 429.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.06061, allocations: 0 / 429.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of Templates: time 0.01438/0.07498, allocations: 7.505 MB / 437.1 MB, free: 11.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.40101819857955] Failed to read output from testmodel.py, exit status != 0: 0.0831199586391449 0.23776977100000002 0.21870064500000003 Calling exit ...