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.0007057/0.0007057, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009474/0.001653, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0006868/0.0006868, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008788/0.001566, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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 0.9971/0.9971, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0791/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.3.0/package.mo): time 0.004811/0.004811, allocations: 0.9965 MB / 245.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003083/0.007894, allocations: 0.7201 MB / 245.9 MB, free: 13.07 MB / 250.7 MB " [Timeout remaining time 180] Using package Credibility with version 0.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.3.0/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 1.212e-06/1.212e-06, allocations: 0 / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.327e-05, allocations: 6.109 kB / 247.2 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005402/0.005415, allocations: 3.27 MB / 250.5 MB, free: 8.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.00931, allocations: 2.354 MB / 252.8 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.009526, allocations: 15.94 kB / 252.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.01187, allocations: 1.082 MB / 253.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.01258, allocations: 398.1 kB / 254.3 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.01292, allocations: 143.5 kB / 254.4 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.01363, allocations: 0.5486 MB / 255 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.01386, allocations: 93.31 kB / 255.1 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.01453, allocations: 445.9 kB / 255.5 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.01497, allocations: 279.7 kB / 255.8 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.01504, allocations: 32 kB / 255.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.01528, allocations: 95.88 kB / 255.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.01556, allocations: 256.6 kB / 256.2 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.01577, allocations: 151.4 kB / 256.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008065/0.01658, allocations: 0.5486 MB / 256.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.01659, allocations: 0 / 256.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01659, allocations: 0 / 256.9 MB, free: 2.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.01661, allocations: 7.938 kB / 256.9 MB, free: 2.02 MB / 250.7 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.001121/0.01773, allocations: 1.19 MB / 258.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01776, allocations: 12.03 kB / 258.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.01786, allocations: 76.42 kB / 258.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.01838, allocations: 0.5875 MB / 258.7 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.0184, allocations: 16.5 kB / 258.7 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.01844, allocations: 27.95 kB / 258.8 MB, free: 44 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.01863, allocations: 178.7 kB / 258.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01864, allocations: 4 kB / 259 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.01866, allocations: 8 kB / 259 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.01866, allocations: 8 kB / 259 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.01875, allocations: 77.31 kB / 259 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.01946, allocations: 0.6341 MB / 259.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.01966, allocations: 133.2 kB / 259.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.01973, allocations: 48.84 kB / 259.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01975, allocations: 8 kB / 259.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.01978, allocations: 38.55 kB / 259.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.01978, allocations: 0 / 259.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008575/0.02064, allocations: 0.6059 MB / 260.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.02066, allocations: 59.34 kB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.02136, allocations: 1.06 MB / 261.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.02137, allocations: 29.7 kB / 261.7 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.0215, allocations: 267.2 kB / 261.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.02155, allocations: 111.1 kB / 262 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.02171, allocations: 226.2 kB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.02179, allocations: 345.9 kB / 262.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.02191, allocations: 116.8 kB / 262.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.02205, allocations: 192 kB / 262.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.02237, allocations: 424.5 kB / 263.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02237, allocations: 0 / 263.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0005119/0.02288, allocations: 0.5076 MB / 263.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.02289, allocations: 8 kB / 263.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.0229, allocations: 0 / 263.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.02308, allocations: 69.61 kB / 263.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.02341, allocations: 207.8 kB / 264.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/0.0243, allocations: 1.961 MB / 266 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.02444, allocations: 20 kB / 266.1 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.02447, allocations: 24 kB / 266.1 MB, free: 8.367 MB / 266.7 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.0001252/0.0246, allocations: 156.5 kB / 266.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.02465, allocations: 51.94 kB / 266.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.0248, allocations: 166.4 kB / 266.5 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.0248, allocations: 7.938 kB / 266.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.02481, allocations: 0 / 266.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.02481, allocations: 0 / 266.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.0253, allocations: 0.531 MB / 267 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.02534, allocations: 0 / 267 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.02553, allocations: 83.86 kB / 267.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.02564, allocations: 111.3 kB / 267.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.02564, allocations: 3.938 kB / 267.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.02565, allocations: 8 kB / 267.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.02566, allocations: 0 / 267.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02566, allocations: 3.984 kB / 267.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.02585, allocations: 293.3 kB / 267.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.02589, allocations: 11.98 kB / 267.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.02598, allocations: 7.938 kB / 267.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.026, allocations: 19.97 kB / 267.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.02601, allocations: 12.06 kB / 267.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003992/0.02641, allocations: 0.5108 MB / 268 MB, free: 6.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.02641, allocations: 0 / 268 MB, free: 6.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.02671, allocations: 167.9 kB / 268.2 MB, free: 6.164 MB / 266.7 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.001057/0.02776, allocations: 492.7 kB / 268.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.02819, allocations: 459.6 kB / 269.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.0282, allocations: 8 kB / 269.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.02829, allocations: 83.33 kB / 269.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.02885, allocations: 0.792 MB / 270 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.03261, allocations: 1.463 MB / 271.5 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.03275, allocations: 225.1 kB / 271.7 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.03285, allocations: 60.36 kB / 271.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.03302, allocations: 131.3 kB / 271.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03302, allocations: 0 / 271.9 MB, free: 2.492 MB / 266.7 MB Notification: Performance of Templates: time 0.1042/0.1373, allocations: 7.382 MB / 279.3 MB, free: 19.36 MB / 266.7 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=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8029883671551943]