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.0006547/0.0006547, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009005/0.001555, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006882/0.0006882, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008379/0.001526, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9281/0.9281, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08708/1.015, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.004827/0.004827, allocations: 0.9987 MB / 245 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.006034, allocations: 0.7214 MB / 245.7 MB, free: 13.18 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.373e-06/1.373e-06, allocations: 0 / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.087e-05, allocations: 2.312 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.002906/0.002917, allocations: 3.27 MB / 250.3 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.005256, allocations: 2.358 MB / 252.6 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.005404, allocations: 8 kB / 252.6 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.006674, allocations: 1.086 MB / 253.7 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.007064, allocations: 398.1 kB / 254.1 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.007276, allocations: 139.6 kB / 254.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.007664, allocations: 0.5525 MB / 254.8 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.007809, allocations: 89.3 kB / 254.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.008131, allocations: 442 kB / 255.3 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.008343, allocations: 279.7 kB / 255.6 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.008376, allocations: 32 kB / 255.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.008512, allocations: 91.83 kB / 255.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.008656, allocations: 260.6 kB / 256 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.008804, allocations: 147.4 kB / 256.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.009263, allocations: 0.5564 MB / 256.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.009275, allocations: 0 / 256.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009276, allocations: 4 kB / 256.7 MB, free: 2.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.009289, allocations: 0 / 256.7 MB, free: 2.156 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.001032/0.01032, allocations: 1.194 MB / 257.9 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01035, allocations: 8.031 kB / 257.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.01046, allocations: 76.42 kB / 257.9 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.01108, allocations: 0.5836 MB / 258.5 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.01109, allocations: 20.5 kB / 258.5 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.01112, allocations: 35.88 kB / 258.6 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.01133, allocations: 174.7 kB / 258.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01134, allocations: 0 / 258.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.01135, allocations: 12 kB / 258.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.01136, allocations: 4 kB / 258.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.01144, allocations: 65.45 kB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.01209, allocations: 0.6419 MB / 259.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.01226, allocations: 129.2 kB / 259.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.01233, allocations: 56.83 kB / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01235, allocations: 3.984 kB / 259.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.01236, allocations: 38.5 kB / 259.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.163e-06/0.01237, allocations: 0 / 259.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007503/0.01312, allocations: 0.5971 MB / 260.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.01314, allocations: 59.34 kB / 260.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.01378, allocations: 1.06 MB / 261.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.01379, allocations: 25.7 kB / 261.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.01392, allocations: 267.2 kB / 261.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.01397, allocations: 111.1 kB / 261.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.01412, allocations: 218.3 kB / 262 MB, free: 12.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.01419, allocations: 349.8 kB / 262.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.01431, allocations: 124.8 kB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.01444, allocations: 196 kB / 262.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.01467, allocations: 324.5 kB / 263 MB, free: 11.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01468, allocations: 0 / 263 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0004982/0.01517, allocations: 0.5115 MB / 263.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.01519, allocations: 4 kB / 263.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01519, allocations: 4 kB / 263.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.01536, allocations: 69.7 kB / 263.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.01568, allocations: 207.7 kB / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000871/0.01655, allocations: 1.954 MB / 265.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.01668, allocations: 24 kB / 265.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.01671, allocations: 24.09 kB / 265.8 MB, free: 8.617 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.0001251/0.01683, allocations: 148.5 kB / 265.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.01688, allocations: 59.88 kB / 266 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.01703, allocations: 166.4 kB / 266.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01703, allocations: 4 kB / 266.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.01703, allocations: 0 / 266.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01704, allocations: 3.984 kB / 266.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.01751, allocations: 0.5426 MB / 266.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.01751, allocations: 0 / 266.7 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.0177, allocations: 71.95 kB / 266.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.01782, allocations: 107.4 kB / 266.9 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01782, allocations: 3.938 kB / 266.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.01783, allocations: 8 kB / 266.9 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01783, allocations: 0 / 266.9 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01783, allocations: 3.984 kB / 266.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.01802, allocations: 304.3 kB / 267.2 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.01806, allocations: 8.031 kB / 267.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.01815, allocations: 7.938 kB / 267.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.01816, allocations: 15.97 kB / 267.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.01817, allocations: 4 kB / 267.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003627/0.01853, allocations: 0.5147 MB / 267.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01853, allocations: 0 / 267.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.01883, allocations: 167.9 kB / 267.9 MB, free: 6.422 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.001008/0.01983, allocations: 0.4931 MB / 268.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.02028, allocations: 442.7 kB / 268.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.02029, allocations: 8.312 kB / 268.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.02034, allocations: 68.7 kB / 268.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.02072, allocations: 173.9 kB / 269.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.02447, allocations: 1.471 MB / 270.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.02463, allocations: 221.1 kB / 270.7 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.02486, allocations: 56.36 kB / 270.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.02504, allocations: 127.3 kB / 270.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02504, allocations: 0 / 270.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of Templates: time 0.1052/0.1302, allocations: 7.429 MB / 278.4 MB, free: 19.11 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.8544803699478507]