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.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.001275/0.001275, allocations: 117.9 kB / 17.13 MB, free: 5.781 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.001361/0.001361, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.008749/0.008749, allocations: 1.293 MB / 304.7 MB, free: 3.66 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.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(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.00193/0.00193, allocations: 67.89 kB / 423.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2282, allocations: 52.43 MB / 476.1 MB, free: 28.14 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003757/0.2319, allocations: 3.252 MB / 479.4 MB, free: 25.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.2344, allocations: 2.235 MB / 481.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.2346, allocations: 9.25 kB / 481.6 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.2363, allocations: 1.083 MB / 482.7 MB, free: 24.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.2367, allocations: 358.6 kB / 483 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.237, allocations: 135.4 kB / 483.2 MB, free: 23.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.2374, allocations: 0.5312 MB / 483.7 MB, free: 23.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.2376, allocations: 97.66 kB / 483.8 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2378, allocations: 242.4 kB / 484 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.2381, allocations: 363.5 kB / 484.4 MB, free: 23.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.2381, allocations: 37.16 kB / 484.4 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.2383, allocations: 88.06 kB / 484.5 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.2384, allocations: 266.8 kB / 484.8 MB, free: 23.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.2386, allocations: 364.1 kB / 485.1 MB, free: 22.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.2393, allocations: 0.8977 MB / 486 MB, free: 22.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2393, allocations: 0 / 486 MB, free: 22.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2393, allocations: 0 / 486 MB, free: 22.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2394, allocations: 0 / 486 MB, free: 22.57 MB / 366.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.001205/0.2406, allocations: 1.205 MB / 487.2 MB, free: 21.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2406, allocations: 6.406 kB / 487.2 MB, free: 21.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.2407, allocations: 109.2 kB / 487.3 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.2415, allocations: 0.9229 MB / 488.3 MB, free: 21.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2416, allocations: 14.16 kB / 488.3 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.2416, allocations: 24.81 kB / 488.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.2419, allocations: 226 kB / 488.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.242, allocations: 0.7969 kB / 488.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.242, allocations: 11.12 kB / 488.5 MB, free: 20.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.242, allocations: 10 kB / 488.5 MB, free: 20.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.2422, allocations: 141.3 kB / 488.7 MB, free: 20.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2437, allocations: 1.327 MB / 490 MB, free: 20.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.2441, allocations: 262.7 kB / 490.3 MB, free: 19.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2442, allocations: 85.81 kB / 490.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.2442, allocations: 3.188 kB / 490.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2443, allocations: 35.59 kB / 490.4 MB, free: 19.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.2443, allocations: 0 / 490.4 MB, free: 19.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001411/0.2457, allocations: 1.055 MB / 491.4 MB, free: 19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2457, allocations: 53.59 kB / 491.5 MB, free: 18.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.2476, allocations: 1.741 MB / 493.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.2476, allocations: 30.92 kB / 493.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.2478, allocations: 382.9 kB / 493.6 MB, free: 17.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.2479, allocations: 103.1 kB / 493.7 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.2482, allocations: 251.2 kB / 494 MB, free: 17.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.2483, allocations: 351.8 kB / 494.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.2488, allocations: 461.7 kB / 494.8 MB, free: 17.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.2494, allocations: 0.5518 MB / 495.3 MB, free: 17.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.2501, allocations: 0.6456 MB / 496 MB, free: 16.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2501, allocations: 1.344 kB / 496 MB, free: 16.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001765/0.2519, allocations: 1.286 MB / 497.3 MB, free: 16.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2519, allocations: 5.219 kB / 497.3 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.2519, allocations: 2.938 kB / 497.3 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.2523, allocations: 85.72 kB / 497.4 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.2528, allocations: 182.7 kB / 497.5 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.2541, allocations: 2.287 MB / 499.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.2544, allocations: 22.06 kB / 499.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.2545, allocations: 30.94 kB / 499.9 MB, free: 14.11 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.0004242/0.2549, allocations: 384.1 kB / 0.4885 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.255, allocations: 92.42 kB / 0.4886 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.2554, allocations: 248.5 kB / 0.4888 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2554, allocations: 2.25 kB / 0.4888 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2554, allocations: 1.156 kB / 0.4888 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2554, allocations: 1.5 kB / 0.4888 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.2567, allocations: 0.9931 MB / 0.4898 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2567, allocations: 0 / 0.4898 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.2569, allocations: 58.17 kB / 0.4899 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2569, allocations: 2 kB / 0.4899 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.257, allocations: 5.594 kB / 0.4899 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.257, allocations: 5.922 kB / 0.4899 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.257, allocations: 5.625 kB / 0.4899 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.2574, allocations: 443.5 kB / 0.4903 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.2576, allocations: 228.7 kB / 0.4905 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.2577, allocations: 10.34 kB / 0.4905 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2579, allocations: 2.016 kB / 0.4905 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.2579, allocations: 16.09 kB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.258, allocations: 6.141 kB / 0.4906 GB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.2592, allocations: 1.138 MB / 0.4917 GB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2592, allocations: 4 kB / 0.4917 GB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006073/0.2598, allocations: 169 kB / 0.4918 GB, free: 12.16 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.001235/0.261, allocations: 366.8 kB / 0.4922 GB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2622, allocations: 0.7758 MB / 0.493 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2622, allocations: 5.125 kB / 0.493 GB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2624, allocations: 75.45 kB / 0.493 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.2631, allocations: 120.7 kB / 0.4931 GB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.2655, allocations: 1.84 MB / 0.4949 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.266, allocations: 1.027 MB / 0.4959 GB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2661, allocations: 39.03 kB / 0.496 GB, free: 9.844 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2661, allocations: 0 / 0.496 GB, free: 9.844 MB / 366.1 MB Notification: Performance of Templates: time 0.01671/0.2828, allocations: 12.75 MB / 0.5084 GB, free: 2.984 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: 8.821798059158027] Failed to read output from testmodel.py, exit status != 0: 0.2901447869371623 0.30206023400000004 0.059905205 Calling exit ...