Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001564, allocations: 105.8 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04259/0.04259, allocations: 8.036 MB / 298.8 MB, free: 7.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 56.05 kB / 360.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1792, allocations: 51.19 MB / 412 MB, free: 26.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004022/0.1833, allocations: 4.12 MB / 416.1 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1849, allocations: 1.38 MB / 417.5 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.1852, allocations: 15.94 kB / 417.5 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.1855, allocations: 119.3 kB / 417.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.1859, allocations: 167 kB / 417.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.1864, allocations: 342.4 kB / 418.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1869, allocations: 0.8374 MB / 418.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.1874, allocations: 456.5 kB / 419.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1876, allocations: 315 kB / 419.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1878, allocations: 354.4 kB / 420 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.1879, allocations: 92 kB / 420.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1881, allocations: 124 kB / 420.3 MB, free: 18.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1882, allocations: 211.3 kB / 420.5 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.1884, allocations: 398.1 kB / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.1889, allocations: 0.803 MB / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1889, allocations: 0 / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.189, allocations: 0 / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.189, allocations: 0 / 421.7 MB, free: 16.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001405/0.1904, allocations: 1.098 MB / 422.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.1904, allocations: 15.95 kB / 422.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1905, allocations: 80 kB / 422.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.191, allocations: 0.4934 MB / 423.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.191, allocations: 45.31 kB / 423.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.1911, allocations: 64 kB / 423.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.1921, allocations: 0.6527 MB / 424.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1922, allocations: 4 kB / 424.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.1922, allocations: 24 kB / 424.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1922, allocations: 16 kB / 424.1 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.1932, allocations: 480.9 kB / 424.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.1958, allocations: 2.516 MB / 427.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.1966, allocations: 426.9 kB / 427.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.197, allocations: 169 kB / 427.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.1971, allocations: 4.234 kB / 427.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.1976, allocations: 253.2 kB / 428 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.1976, allocations: 0 / 428 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001353/0.199, allocations: 0.6823 MB / 428.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.199, allocations: 140.7 kB / 428.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.1995, allocations: 0.5566 MB / 429.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1995, allocations: 33.7 kB / 429.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.1997, allocations: 331.4 kB / 429.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.1997, allocations: 114.5 kB / 429.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1998, allocations: 69.61 kB / 429.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.1999, allocations: 366.8 kB / 430.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.2003, allocations: 157.1 kB / 430.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.2006, allocations: 262.5 kB / 430.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.2014, allocations: 0.5307 MB / 431.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2014, allocations: 4 kB / 431.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009458/0.2023, allocations: 0.5884 MB / 431.8 MB, free: 6.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.2024, allocations: 93.81 kB / 431.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2024, allocations: 7.938 kB / 431.9 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.2025, allocations: 24.84 kB / 431.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2028, allocations: 79.83 kB / 432 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000639/0.2035, allocations: 1.383 MB / 433.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.2039, allocations: 87.42 kB / 433.4 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.2039, allocations: 12 kB / 433.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004448/0.2044, allocations: 320.4 kB / 433.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003364/0.2047, allocations: 246.9 kB / 434 MB, free: 3.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006439/0.2054, allocations: 0.511 MB / 434.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.2054, allocations: 0 / 434.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008695/0.2063, allocations: 0.5648 MB / 435.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.2063, allocations: 89.47 kB / 435.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2063, allocations: 8 kB / 435.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.81e-05/0.2064, allocations: 24.84 kB / 435.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2067, allocations: 75.89 kB / 435.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005474/0.2072, allocations: 1.382 MB / 436.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.2076, allocations: 63.83 kB / 436.7 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2077, allocations: 16 kB / 436.7 MB, free: 0.7266 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0001241/0.2078, allocations: 268 kB / 437 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.2079, allocations: 55.34 kB / 437 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009831/0.2088, allocations: 0.4947 MB / 437.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2089, allocations: 0 / 437.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2089, allocations: 4 kB / 437.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2089, allocations: 3.984 kB / 437.6 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.2108, allocations: 1.121 MB / 438.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2108, allocations: 0 / 438.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.2111, allocations: 59.89 kB / 438.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9e-05/0.2112, allocations: 24.86 kB / 438.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.2112, allocations: 15.92 kB / 438.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.2124, allocations: 1.375 MB / 440.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2124, allocations: 0 / 440.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.214, allocations: 0.7728 MB / 440.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2141, allocations: 128.5 kB / 441 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.2142, allocations: 11.98 kB / 441.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.2146, allocations: 43.95 kB / 441.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2147, allocations: 31.91 kB / 441.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.2147, allocations: 15.94 kB / 441.1 MB, free: 12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005006/0.2152, allocations: 406.8 kB / 441.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2152, allocations: 0 / 441.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007663/0.216, allocations: 267 kB / 441.8 MB, free: 11.35 MB / 318.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.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,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 (28): * Single equations (assignments): 23 * 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.00129/0.2173, allocations: 374.2 kB / 442.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.2195, allocations: 1.163 MB / 443.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2195, allocations: 4.062 kB / 443.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.2202, allocations: 430.8 kB / 443.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.2207, allocations: 85.86 kB / 443.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.2231, allocations: 1.465 MB / 445.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.2236, allocations: 0.8893 MB / 446.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.2238, allocations: 39.42 kB / 446.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2238, allocations: 0 / 446.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of Templates: time 0.01436/0.2382, allocations: 10.2 MB / 456.4 MB, free: 12.66 MB / 334.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)