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.001405/0.001405, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001535/0.001535, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.009702/0.009702, allocations: 1.31 MB / 314.5 MB, free: 1.695 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.3.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: translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.84 kB / 437.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1126, allocations: 53.67 MB / 491 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005365/0.118, allocations: 3.062 MB / 494.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.1221, allocations: 2.238 MB / 496.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.1223, allocations: 11.94 kB / 496.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.1247, allocations: 1.053 MB / 497.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007993/0.1255, allocations: 402.3 kB / 497.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1259, allocations: 139.3 kB / 497.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.1266, allocations: 0.5409 MB / 498.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1268, allocations: 80.61 kB / 498.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.1271, allocations: 251 kB / 498.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.1276, allocations: 355.1 kB / 499.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.1276, allocations: 32 kB / 499.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1279, allocations: 95.89 kB / 499.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.1281, allocations: 268.7 kB / 499.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.1284, allocations: 254.1 kB / 499.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.1295, allocations: 0.9141 MB / 0.489 GB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1295, allocations: 0 / 0.489 GB, free: 52 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1295, allocations: 0 / 0.489 GB, free: 52 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1295, allocations: 0 / 0.489 GB, free: 52 kB / 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.001776/0.1313, allocations: 1.13 MB / 0.4901 GB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1313, allocations: 12.03 kB / 0.4901 GB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1315, allocations: 111.5 kB / 0.4902 GB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.1329, allocations: 0.8695 MB / 0.491 GB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1329, allocations: 12.5 kB / 0.491 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.1329, allocations: 24 kB / 0.4911 GB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.1334, allocations: 222.8 kB / 0.4913 GB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1334, allocations: 15.92 kB / 0.4913 GB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1334, allocations: 8 kB / 0.4913 GB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1334, allocations: 11.94 kB / 0.4913 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1337, allocations: 137.9 kB / 0.4915 GB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.1356, allocations: 1.142 MB / 0.4926 GB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.136, allocations: 174.8 kB / 0.4927 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1362, allocations: 87.64 kB / 0.4928 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1362, allocations: 0 / 0.4928 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1363, allocations: 34.56 kB / 0.4928 GB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.1363, allocations: 0 / 0.4928 GB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001743/0.138, allocations: 0.9072 MB / 0.4937 GB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1381, allocations: 59.41 kB / 0.4938 GB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.1403, allocations: 1.74 MB / 0.4955 GB, free: 9.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1403, allocations: 33.7 kB / 0.4955 GB, free: 9.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.1407, allocations: 373.3 kB / 0.4959 GB, free: 8.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1408, allocations: 111.2 kB / 0.496 GB, free: 8.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.1411, allocations: 246.4 kB / 0.4962 GB, free: 8.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1413, allocations: 353.9 kB / 0.4966 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/0.1419, allocations: 461.8 kB / 0.497 GB, free: 7.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.1427, allocations: 0.5506 MB / 0.4975 GB, free: 6.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.1436, allocations: 0.6513 MB / 0.4982 GB, free: 6.312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1436, allocations: 0 / 0.4982 GB, free: 6.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002055/0.1456, allocations: 1.283 MB / 0.4994 GB, free: 5.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.1457, allocations: 8.156 kB / 0.4994 GB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1457, allocations: 4 kB / 0.4994 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/0.146, allocations: 77.73 kB / 0.4995 GB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.1466, allocations: 183.7 kB / 0.4997 GB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.1488, allocations: 2.158 MB / 0.5018 GB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.1491, allocations: 27.97 kB / 0.5018 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.1492, allocations: 28 kB / 0.5018 GB, free: 2.406 MB / 366.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 (115): * Single equations (assignments): 113 * 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.0005405/0.1497, allocations: 385.5 kB / 0.5022 GB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.1499, allocations: 91.39 kB / 0.5023 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.1503, allocations: 250.4 kB / 0.5025 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1503, allocations: 0 / 0.5025 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1503, allocations: 4.156 kB / 0.5025 GB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1503, allocations: 4 kB / 0.5025 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.1517, allocations: 0.7968 MB / 0.5033 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1517, allocations: 8 kB / 0.5033 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.1519, allocations: 55.97 kB / 0.5034 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1519, allocations: 0 / 0.5034 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.152, allocations: 8 kB / 0.5034 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.152, allocations: 3.938 kB / 0.5034 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.152, allocations: 0 / 0.5034 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.1526, allocations: 457.3 kB / 0.5038 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.1529, allocations: 147.3 kB / 0.504 GB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.153, allocations: 4 kB / 0.504 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1531, allocations: 11.94 kB / 0.504 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1532, allocations: 19.77 kB / 0.504 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1532, allocations: 8 kB / 0.504 GB, free: 108 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.2376/0.3908, allocations: 1.133 MB / 0.5051 GB, free: 25.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3908, allocations: 0 / 0.5051 GB, free: 25.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00079/0.3916, allocations: 168.4 kB / 0.5053 GB, free: 25.63 MB / 366.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,inertiaLoad.w,loadTorque.phi) * 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.001406/0.393, allocations: 384.3 kB / 0.5057 GB, free: 25.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.3942, allocations: 0.7761 MB / 0.5064 GB, free: 25.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3942, allocations: 0 / 0.5064 GB, free: 25.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3943, allocations: 75.92 kB / 0.5065 GB, free: 25.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.3951, allocations: 128.8 kB / 0.5066 GB, free: 25.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3975, allocations: 1.851 MB / 0.5084 GB, free: 24.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.398, allocations: 432.4 kB / 0.5088 GB, free: 24.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3981, allocations: 38.86 kB / 0.5089 GB, free: 24.49 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3981, allocations: 1.406 kB / 0.5089 GB, free: 24.49 MB / 366.1 MB Notification: Performance of Templates: time 0.01899/0.4171, allocations: 13.17 MB / 0.5217 GB, free: 19.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile [Timeout 660] (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 & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.340010724961758] Failed to read output from testmodel.py, exit status != 0: 0.42420251201838255 0.43351816000000004 0.301894113 Calling exit ...