Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1269/0.1269, allocations: 8.407 MB / 306.3 MB, free: 2.742 MB / 238.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-main/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(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 64.14 kB / 423.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2132, allocations: 51.37 MB / 474.6 MB, free: 20.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004641/0.2178, allocations: 4.437 MB / 479 MB, free: 17.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2205, allocations: 2.115 MB / 481.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.2209, allocations: 12.38 kB / 481.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.2213, allocations: 163.6 kB / 481.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.2218, allocations: 228.7 kB / 481.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.2224, allocations: 427.8 kB / 481.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.2231, allocations: 0.9602 MB / 482.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.2236, allocations: 0.5021 MB / 483.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.224, allocations: 377.3 kB / 483.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.2244, allocations: 412.5 kB / 484.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2245, allocations: 111.3 kB / 484.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.2248, allocations: 157 kB / 484.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.225, allocations: 244.9 kB / 484.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.2253, allocations: 463.8 kB / 485.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009443/0.2262, allocations: 1.239 MB / 486.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2262, allocations: 4 kB / 486.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2262, allocations: 5.406 kB / 486.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.2263, allocations: 0 / 486.4 MB, free: 11.82 MB / 350.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.001695/0.228, allocations: 1.264 MB / 487.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.228, allocations: 11.86 kB / 487.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.2282, allocations: 100 kB / 487.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.2288, allocations: 0.5691 MB / 488.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.2289, allocations: 57.22 kB / 488.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.229, allocations: 86.3 kB / 488.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.2302, allocations: 0.7365 MB / 489.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2302, allocations: 5.172 kB / 489.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.2303, allocations: 33.03 kB / 489.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2303, allocations: 16.69 kB / 489.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2314, allocations: 0.5275 MB / 489.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.2345, allocations: 2.707 MB / 492.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.2354, allocations: 481.1 kB / 492.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.2358, allocations: 181.2 kB / 493.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.2358, allocations: 8.125 kB / 493.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/0.2363, allocations: 278.9 kB / 493.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.2364, allocations: 1.375 kB / 493.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001528/0.2379, allocations: 0.7352 MB / 494.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.2379, allocations: 168.5 kB / 494.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.2386, allocations: 0.6846 MB / 495 MB, free: 5.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2387, allocations: 34.95 kB / 495 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.2389, allocations: 386.5 kB / 495.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.2389, allocations: 123.5 kB / 495.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.2391, allocations: 97.8 kB / 495.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.2391, allocations: 374.5 kB / 496 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004137/0.2396, allocations: 193.2 kB / 496.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.24, allocations: 305.7 kB / 496.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008738/0.2409, allocations: 0.5993 MB / 497.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2409, allocations: 0 / 497.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001164/0.2421, allocations: 0.6772 MB / 497.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.2421, allocations: 94.44 kB / 497.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2422, allocations: 2.938 kB / 497.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.2423, allocations: 26.81 kB / 497.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.2427, allocations: 97.31 kB / 498 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007019/0.2434, allocations: 1.386 MB / 499.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.2439, allocations: 92.14 kB / 499.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.2439, allocations: 23.48 kB / 499.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005838/0.2445, allocations: 363.6 kB / 499.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004056/0.2449, allocations: 289.6 kB / 0.4884 GB, free: 1.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007556/0.2457, allocations: 0.5732 MB / 0.4889 GB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.2457, allocations: 7.75 kB / 0.4889 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001048/0.2467, allocations: 0.6576 MB / 0.4896 GB, free: 496 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.2468, allocations: 89.95 kB / 0.4897 GB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2468, allocations: 8.859 kB / 0.4897 GB, free: 392 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-05/0.2469, allocations: 23.48 kB / 0.4897 GB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.2472, allocations: 92.31 kB / 0.4898 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.2482, allocations: 1.398 MB / 0.4911 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.2487, allocations: 68.22 kB / 0.4912 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2487, allocations: 23.45 kB / 0.4912 GB, free: 14.85 MB / 366.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.0002639/0.249, allocations: 263.9 kB / 0.4915 GB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.2491, allocations: 65 kB / 0.4915 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.2503, allocations: 0.5409 MB / 0.4921 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2504, allocations: 4 kB / 0.4921 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2504, allocations: 0 / 0.4921 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2504, allocations: 3.984 kB / 0.4921 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.2525, allocations: 1.284 MB / 0.4933 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2525, allocations: 0 / 0.4933 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.2528, allocations: 59.89 kB / 0.4934 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-05/0.2529, allocations: 24.84 kB / 0.4934 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.253, allocations: 8 kB / 0.4934 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.254, allocations: 1.391 MB / 0.4948 GB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2541, allocations: 3.938 kB / 0.4948 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2557, allocations: 0.8281 MB / 0.4956 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.2559, allocations: 148.7 kB / 0.4957 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.256, allocations: 8 kB / 0.4957 GB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.2563, allocations: 43.94 kB / 0.4958 GB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2564, allocations: 39.91 kB / 0.4958 GB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.2565, allocations: 12 kB / 0.4958 GB, free: 9.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006337/0.2571, allocations: 486.8 kB / 0.4963 GB, free: 9.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2571, allocations: 0 / 0.4963 GB, free: 9.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008933/0.258, allocations: 323.1 kB / 0.4966 GB, free: 9.113 MB / 366.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.001366/0.2594, allocations: 417.3 kB / 0.497 GB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.2616, allocations: 1.273 MB / 0.4983 GB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2617, allocations: 3.938 kB / 0.4983 GB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.2624, allocations: 441.1 kB / 0.4987 GB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.263, allocations: 109.1 kB / 0.4988 GB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2654, allocations: 1.406 MB / 0.5002 GB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.266, allocations: 0.929 MB / 0.5011 GB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2661, allocations: 43.42 kB / 0.5011 GB, free: 4.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2661, allocations: 0 / 0.5011 GB, free: 4.469 MB / 366.1 MB Notification: Performance of Templates: time 0.01628/0.2824, allocations: 12.12 MB / 0.5129 GB, free: 8.355 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.261220874032006] Failed to read output from testmodel.py, exit status != 0: 0.2893550870940089 0.30209545000000004 0.07336915000000001 Calling exit ...