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.001369/0.001369, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001513/0.001513, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.008807/0.008807, allocations: 0.9968 MB / 260.2 MB, free: 15.72 MB / 254.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 2.254e-06/2.254e-06, allocations: 0 / 383.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.367e-05/4.593e-05, allocations: 9.172 kB / 383.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005587/0.005633, allocations: 3.085 MB / 386.2 MB, free: 276 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.009848, allocations: 2.238 MB / 388.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.01012, allocations: 4 kB / 388.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.01266, allocations: 1.062 MB / 389.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007843/0.01344, allocations: 418 kB / 390 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.01384, allocations: 138.5 kB / 390.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.01456, allocations: 0.5563 MB / 390.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.01479, allocations: 84.61 kB / 390.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.01522, allocations: 323.2 kB / 391 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.01564, allocations: 323.6 kB / 391.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.01571, allocations: 32 kB / 391.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.01594, allocations: 91.89 kB / 391.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.01623, allocations: 276.7 kB / 391.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.01647, allocations: 187.3 kB / 391.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01751, allocations: 0.8605 MB / 392.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.01752, allocations: 3.984 kB / 392.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01752, allocations: 0 / 392.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.01754, allocations: 0 / 392.8 MB, free: 9.695 MB / 318.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.001738/0.01927, allocations: 1.118 MB / 393.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.01932, allocations: 12.03 kB / 393.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.01947, allocations: 103.7 kB / 394 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.0207, allocations: 0.8617 MB / 394.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.02073, allocations: 20.44 kB / 394.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.02078, allocations: 24 kB / 394.9 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.02118, allocations: 218.8 kB / 395.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.02121, allocations: 15.94 kB / 395.2 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.02124, allocations: 12 kB / 395.2 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.02125, allocations: 8 kB / 395.2 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.02153, allocations: 137.9 kB / 395.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.02334, allocations: 1.138 MB / 396.5 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.02378, allocations: 178 kB / 396.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.02397, allocations: 80.83 kB / 396.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.024, allocations: 0 / 396.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.02403, allocations: 38.55 kB / 396.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.02403, allocations: 4 kB / 396.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001859/0.02589, allocations: 0.9204 MB / 397.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.02595, allocations: 51.41 kB / 397.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.02825, allocations: 1.744 MB / 399.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.02829, allocations: 33.7 kB / 399.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.02878, allocations: 373.3 kB / 399.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02888, allocations: 107.2 kB / 400 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.02926, allocations: 246.4 kB / 400.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.02953, allocations: 349.9 kB / 400.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.03023, allocations: 461.8 kB / 401 MB, free: 1.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.03106, allocations: 0.5468 MB / 401.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.03211, allocations: 0.6552 MB / 402.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.03211, allocations: 0 / 402.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002248/0.03436, allocations: 1.287 MB / 403.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.03439, allocations: 7.938 kB / 403.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.0344, allocations: 7.922 kB / 403.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.03481, allocations: 81.66 kB / 403.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.03536, allocations: 183.9 kB / 403.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.03771, allocations: 2.151 MB / 405.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.03805, allocations: 24.03 kB / 405.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.0381, allocations: 28 kB / 406 MB, free: 12.07 MB / 334.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.0005335/0.03864, allocations: 385.7 kB / 406.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.03878, allocations: 95.33 kB / 406.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.03919, allocations: 254.5 kB / 406.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.0392, allocations: 0 / 406.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.0392, allocations: 7.984 kB / 406.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0392, allocations: 0 / 406.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.04044, allocations: 0.7888 MB / 407.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.04044, allocations: 4 kB / 407.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.04072, allocations: 63.94 kB / 407.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.04072, allocations: 0 / 407.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.04074, allocations: 4 kB / 407.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.04074, allocations: 0 / 407.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.04074, allocations: 0 / 407.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.0413, allocations: 452.7 kB / 408 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.04157, allocations: 143.5 kB / 408.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.04165, allocations: 12.09 kB / 408.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.04184, allocations: 4 kB / 408.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.04188, allocations: 15.95 kB / 408.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.0419, allocations: 16 kB / 408.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.04324, allocations: 1.138 MB / 409.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04324, allocations: 0 / 409.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.04382, allocations: 167.9 kB / 409.5 MB, free: 8.465 MB / 334.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.001457/0.04527, allocations: 396.8 kB / 409.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.04645, allocations: 0.7618 MB / 410.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.04645, allocations: 0 / 410.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.04658, allocations: 82.55 kB / 410.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.04734, allocations: 119.5 kB / 410.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.05001, allocations: 1.865 MB / 412.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.05061, allocations: 483 kB / 413.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.05079, allocations: 80.34 kB / 413.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.05091, allocations: 40.48 kB / 413.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.05091, allocations: 0 / 413.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of Templates: time 0.01586/0.06677, allocations: 6.632 MB / 419.9 MB, free: 14.18 MB / 350.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: 4.393047604709864] Failed to read output from testmodel.py, exit status != 0: 0.0760679729282856 0.092367428 0.071266441 Calling exit ...