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.0008126/0.0008126, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008039/0.0008039, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8479/0.8479, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.00478/0.00478, allocations: 1.01 MB / 261 MB, free: 12.25 MB / 250.7 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 1.413e-06/1.413e-06, allocations: 0 / 383.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.113e-05, allocations: 2.281 kB / 383.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003124/0.003145, allocations: 3.082 MB / 387 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.005316, allocations: 2.242 MB / 389.2 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.005468, allocations: 11.94 kB / 389.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.006883, allocations: 1.058 MB / 390.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.007289, allocations: 406.1 kB / 390.7 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.007486, allocations: 143.3 kB / 390.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.00789, allocations: 0.5525 MB / 391.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.008055, allocations: 88.61 kB / 391.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.008286, allocations: 331.2 kB / 391.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.00853, allocations: 315.6 kB / 392.1 MB, free: 5.336 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.008567, allocations: 32 kB / 392.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.008708, allocations: 87.95 kB / 392.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.008887, allocations: 276.7 kB / 392.5 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.009008, allocations: 187.3 kB / 392.7 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.009667, allocations: 0.8643 MB / 393.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.009669, allocations: 0 / 393.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009671, allocations: 0 / 393.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.00968, allocations: 0 / 393.6 MB, free: 3.898 MB / 314.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.001054/0.01073, allocations: 1.125 MB / 394.7 MB, free: 2.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01077, allocations: 12.03 kB / 394.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.01088, allocations: 103.7 kB / 394.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.01163, allocations: 0.8617 MB / 395.7 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.01165, allocations: 16.5 kB / 395.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.01168, allocations: 24 kB / 395.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.01193, allocations: 230.8 kB / 395.9 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.01195, allocations: 11.89 kB / 395.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.01197, allocations: 8 kB / 395.9 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.01197, allocations: 11.98 kB / 395.9 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.01215, allocations: 133.9 kB / 396.1 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.01319, allocations: 1.142 MB / 397.2 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.01348, allocations: 170.8 kB / 397.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.0136, allocations: 80.83 kB / 397.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.01362, allocations: 7.938 kB / 397.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.01364, allocations: 42.62 kB / 397.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.01364, allocations: 0 / 397.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001017/0.01466, allocations: 0.9138 MB / 398.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01468, allocations: 51.41 kB / 398.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.01586, allocations: 1.748 MB / 400.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01588, allocations: 33.64 kB / 400.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.01609, allocations: 377.3 kB / 400.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.01614, allocations: 107.2 kB / 400.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.01632, allocations: 242.4 kB / 401 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01643, allocations: 353.9 kB / 401.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.0168, allocations: 461.8 kB / 401.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.01722, allocations: 0.5429 MB / 402.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.01774, allocations: 0.6552 MB / 403 MB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01774, allocations: 0 / 403 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001106/0.01884, allocations: 1.283 MB / 404.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01886, allocations: 7.938 kB / 404.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01887, allocations: 0 / 404.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.01906, allocations: 93.73 kB / 404.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.01935, allocations: 183.7 kB / 404.5 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.02056, allocations: 2.151 MB / 406.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.02072, allocations: 24.16 kB / 406.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.02076, allocations: 32 kB / 406.7 MB, free: 6.258 MB / 330.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.0002714/0.02103, allocations: 384.8 kB / 407.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.0211, allocations: 95.33 kB / 407.2 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.02134, allocations: 250.3 kB / 407.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.02135, allocations: 0 / 407.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.02135, allocations: 4 kB / 407.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02135, allocations: 3.984 kB / 407.5 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.02207, allocations: 0.7966 MB / 408.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02207, allocations: 4 kB / 408.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.02222, allocations: 59.91 kB / 408.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.02222, allocations: 0 / 408.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.02223, allocations: 8 kB / 408.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.02223, allocations: 0 / 408.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02223, allocations: 0 / 408.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.02255, allocations: 444.8 kB / 408.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.0227, allocations: 147.4 kB / 408.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.02274, allocations: 4 kB / 408.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.02283, allocations: 12.02 kB / 408.9 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.02285, allocations: 19.91 kB / 408.9 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.02286, allocations: 8 kB / 408.9 MB, free: 3.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008176/0.02368, allocations: 1.135 MB / 410.1 MB, free: 2.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.02368, allocations: 0 / 410.1 MB, free: 2.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.02402, allocations: 171.9 kB / 410.2 MB, free: 2.66 MB / 330.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.0006766/0.02469, allocations: 398.8 kB / 410.6 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.02547, allocations: 0.7657 MB / 411.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02548, allocations: 0 / 411.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/0.02556, allocations: 86.69 kB / 411.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.02601, allocations: 115.8 kB / 411.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/0.1585, allocations: 1.75 MB / 413.3 MB, free: 40.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1589, allocations: 428.2 kB / 413.8 MB, free: 40.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1591, allocations: 43.84 kB / 413.8 MB, free: 40.12 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1591, allocations: 0 / 413.8 MB, free: 40.12 MB / 330.7 MB Notification: Performance of Templates: time 0.01166/0.1707, allocations: 13.16 MB / 427 MB, free: 35.61 MB / 330.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=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4338886216282845] Failed to read output from testmodel.py, exit status != 0: 0.17591912671923637 0.181685273 0.170753702 Calling exit ...