Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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.001442/0.001442, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001607/0.001607, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/package.mo): time 0.008901/0.008901, allocations: 1.312 MB / 310.9 MB, free: 3.137 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/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: "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Credibility requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.72 kB / 431.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 53.62 MB / 485.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004291/0.1161, allocations: 3.277 MB / 488.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.1198, allocations: 2.394 MB / 491 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.1201, allocations: 11.81 kB / 491 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.1225, allocations: 1.079 MB / 492.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006637/0.1231, allocations: 399 kB / 492.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1235, allocations: 142.8 kB / 492.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.124, allocations: 0.5457 MB / 493.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1242, allocations: 84.48 kB / 493.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.1244, allocations: 251.7 kB / 493.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.1248, allocations: 369.4 kB / 493.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.1249, allocations: 32.41 kB / 493.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.1251, allocations: 85.28 kB / 494 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.1253, allocations: 292 kB / 494.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.1256, allocations: 432.1 kB / 494.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1268, allocations: 1.089 MB / 495.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1268, allocations: 4 kB / 495.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1268, allocations: 0 / 495.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.1268, allocations: 1.375 kB / 495.8 MB, free: 10.2 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001663/0.1285, allocations: 1.378 MB / 497.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1285, allocations: 8.469 kB / 497.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.584e-05/0.1286, allocations: 13.97 kB / 497.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.1286, allocations: 63.92 kB / 497.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1288, allocations: 117.9 kB / 497.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006852/0.1356, allocations: 10.58 MB / 0.496 GB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1357, allocations: 16.56 kB / 0.496 GB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.1357, allocations: 31.95 kB / 0.4961 GB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.1362, allocations: 231.7 kB / 0.4963 GB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.1362, allocations: 11.94 kB / 0.4963 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1362, allocations: 11.94 kB / 0.4963 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1362, allocations: 8 kB / 0.4963 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.1365, allocations: 154.1 kB / 0.4965 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.1405, allocations: 3.715 MB / 0.5001 GB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.141, allocations: 251.9 kB / 0.5003 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.1411, allocations: 85.14 kB / 0.5004 GB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.1412, allocations: 7.984 kB / 0.5004 GB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1412, allocations: 30.56 kB / 0.5005 GB, free: 9.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.1412, allocations: 0 / 0.5005 GB, free: 9.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00199/0.1432, allocations: 1.08 MB / 0.5015 GB, free: 8.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1432, allocations: 59.34 kB / 0.5016 GB, free: 8.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/0.1572, allocations: 13.89 MB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.1573, allocations: 29.7 kB / 0.5152 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.1578, allocations: 484.9 kB / 0.5156 GB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1579, allocations: 99.16 kB / 0.5157 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.158, allocations: 57.94 kB / 0.5158 GB, free: 9.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1581, allocations: 314 kB / 0.5161 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1583, allocations: 60.53 kB / 0.5161 GB, free: 9.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1584, allocations: 102.2 kB / 0.5162 GB, free: 9.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1587, allocations: 173.6 kB / 0.5164 GB, free: 9.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1587, allocations: 4 kB / 0.5164 GB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009646/0.1597, allocations: 390.4 kB / 0.5168 GB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1597, allocations: 4 kB / 0.5168 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1597, allocations: 0 / 0.5168 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.16, allocations: 81.75 kB / 0.5169 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1602, allocations: 47.98 kB / 0.5169 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.1623, allocations: 2.277 MB / 0.5191 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1626, allocations: 16.22 kB / 0.5191 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1627, allocations: 15.94 kB / 0.5192 GB, free: 6.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005498/0.1632, allocations: 373.8 kB / 0.5195 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.1634, allocations: 111.3 kB / 0.5196 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.1638, allocations: 291.9 kB / 0.5199 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1639, allocations: 4 kB / 0.5199 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1639, allocations: 7.922 kB / 0.5199 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1639, allocations: 7.875 kB / 0.5199 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.1654, allocations: 1.15 MB / 0.521 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1654, allocations: 0 / 0.521 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.1657, allocations: 55.91 kB / 0.5211 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1657, allocations: 4 kB / 0.5211 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1657, allocations: 4 kB / 0.5211 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1657, allocations: 0 / 0.5211 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1657, allocations: 4 kB / 0.5211 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.1663, allocations: 457.5 kB / 0.5215 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.1666, allocations: 284.2 kB / 0.5218 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.1667, allocations: 12.08 kB / 0.5218 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1669, allocations: 8 kB / 0.5218 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.167, allocations: 23.83 kB / 0.5219 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.167, allocations: 4 kB / 0.5219 GB, free: 3.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.01025/0.1772, allocations: 11.12 MB / 0.5327 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1772, allocations: 0 / 0.5327 GB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007889/0.178, allocations: 116 kB / 0.5328 GB, free: 8.023 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (damper.phi_rel,damper.w_rel,loadTorque.phi,$outputAlias_wa) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.002171/0.1802, allocations: 1.254 MB / 0.5341 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.1808, allocations: 298.5 kB / 0.5343 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1808, allocations: 4 kB / 0.5343 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.181, allocations: 71.91 kB / 0.5344 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.1818, allocations: 146.4 kB / 0.5346 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06643/0.2482, allocations: 43.9 MB / 0.5774 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.249, allocations: 1.078 MB / 0.5785 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.2494, allocations: 116.7 kB / 0.5786 GB, free: 9.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.2498, allocations: 355.3 kB / 0.5789 GB, free: 8.719 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2498, allocations: 0 / 0.5789 GB, free: 8.719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/0.5889, allocations: 26.41 MB / 0.6047 GB, free: 100.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.94, allocations: 5 kB / 0.6047 GB, free: 100.7 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU.fmu > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.373870641051326] Failed to read output from testmodel.py, exit status != 0: 15.364344735979103 15.172084272 15.042303479 Calling exit ...