Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.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 3.0.0-main/package.mo", uses=false) 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestLimTorque,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006136/0.006137, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00127/0.00127, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1496/0.1496, allocations: 8.41 MB / 299 MB, free: 2.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 71.89 kB / 413.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2476, allocations: 51.36 MB / 464.7 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00287/0.2505, allocations: 1.867 MB / 466.5 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2523, allocations: 1.487 MB / 468 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.2524, allocations: 5.375 kB / 468 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.2528, allocations: 96.72 kB / 468.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.253, allocations: 112.1 kB / 468.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.2535, allocations: 181.8 kB / 468.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.2538, allocations: 276.9 kB / 468.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2539, allocations: 39.12 kB / 468.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2541, allocations: 98.45 kB / 468.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2543, allocations: 130.5 kB / 468.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.2544, allocations: 16.84 kB / 469 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.2545, allocations: 73.05 kB / 469 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.2546, allocations: 51.8 kB / 469.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.2547, allocations: 106.7 kB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.255, allocations: 273.8 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.255, allocations: 0 / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2551, allocations: 4 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2551, allocations: 0.8438 kB / 469.5 MB, free: 14.68 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006713/0.2557, allocations: 0.6177 MB / 470.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2558, allocations: 14.44 kB / 470.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.2558, allocations: 42.14 kB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.2559, allocations: 28.02 kB / 470.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.2562, allocations: 273 kB / 470.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2562, allocations: 5.625 kB / 470.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2562, allocations: 21.31 kB / 470.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.2566, allocations: 152.7 kB / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2566, allocations: 0 / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.2566, allocations: 11.67 kB / 470.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2566, allocations: 1.094 kB / 470.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.2569, allocations: 98.91 kB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.2578, allocations: 0.5028 MB / 471.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.258, allocations: 118.9 kB / 471.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.2582, allocations: 75.59 kB / 471.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.2582, allocations: 3.469 kB / 471.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2583, allocations: 44.84 kB / 471.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.2583, allocations: 0 / 471.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006442/0.2589, allocations: 296.5 kB / 471.7 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.259, allocations: 138.7 kB / 471.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.2594, allocations: 364.6 kB / 472.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2594, allocations: 28.08 kB / 472.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.2595, allocations: 157.2 kB / 472.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2595, allocations: 33.62 kB / 472.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.2596, allocations: 34.97 kB / 472.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.2596, allocations: 337.3 kB / 472.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2598, allocations: 52.66 kB / 472.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.2599, allocations: 67.59 kB / 472.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.2603, allocations: 227.8 kB / 473.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2603, allocations: 1.594 kB / 473.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003851/0.2607, allocations: 247.1 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.2607, allocations: 62.3 kB / 473.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2607, allocations: 0 / 473.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2607, allocations: 5.188 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2609, allocations: 14.98 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2609, allocations: 5 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.2611, allocations: 45.56 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2611, allocations: 2.656 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.2613, allocations: 215.5 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.2613, allocations: 26.86 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.2618, allocations: 268.1 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2618, allocations: 5.219 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2618, allocations: 0 / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2618, allocations: 4 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.2621, allocations: 282.4 kB / 474.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2621, allocations: 0.7031 kB / 474.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.2622, allocations: 19.58 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2622, allocations: 0 / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2622, allocations: 13.27 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2622, allocations: 1.25 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2622, allocations: 0 / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.2626, allocations: 352.8 kB / 474.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.2627, allocations: 114.4 kB / 474.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2628, allocations: 12.77 kB / 474.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.263, allocations: 30.94 kB / 474.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.2631, allocations: 12.72 kB / 474.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2631, allocations: 8.375 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.2633, allocations: 271.1 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2633, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.2636, allocations: 57.39 kB / 475.2 MB, free: 10.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/0.2654, allocations: 1.183 MB / 476.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.2659, allocations: 271.8 kB / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2659, allocations: 0 / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2661, allocations: 197.4 kB / 476.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.2666, allocations: 46.95 kB / 476.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.2694, allocations: 2.474 MB / 479.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.2696, allocations: 0.7446 MB / 480.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.928e-05/0.2697, allocations: 23.89 kB / 480.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.2698, allocations: 69.62 kB / 480.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2698, allocations: 0 / 480.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.298, allocations: 6.061 MB / 486.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.382, allocations: 19.72 kB / 486.3 MB, free: 3.992 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestLimTorque.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1)