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.0014/0.0014, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001473/0.001473, allocations: 162.9 kB / 23.01 MB, free: 4.602 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.934 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.009201/0.009201, allocations: 1.008 MB / 260.8 MB, free: 15.7 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 0.003069/0.003069, allocations: 63.91 kB / 383.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1112, allocations: 53.63 MB / 437.3 MB, free: 14.91 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004959/0.1162, allocations: 3.073 MB / 440.4 MB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.1198, allocations: 2.238 MB / 442.6 MB, free: 9.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1199, allocations: 11.94 kB / 442.6 MB, free: 9.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.122, allocations: 1.055 MB / 443.7 MB, free: 8.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.1227, allocations: 398.3 kB / 444 MB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.123, allocations: 139.5 kB / 444.2 MB, free: 7.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.1236, allocations: 0.5448 MB / 444.7 MB, free: 7.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1238, allocations: 84.66 kB / 444.8 MB, free: 7.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.124, allocations: 243.1 kB / 445 MB, free: 7.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.1245, allocations: 355.1 kB / 445.4 MB, free: 6.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.1245, allocations: 32 kB / 445.4 MB, free: 6.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1247, allocations: 95.89 kB / 445.5 MB, free: 6.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.125, allocations: 276.7 kB / 445.8 MB, free: 6.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.1252, allocations: 254.1 kB / 446 MB, free: 6.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1263, allocations: 0.9218 MB / 447 MB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1263, allocations: 0 / 447 MB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1263, allocations: 0 / 447 MB, free: 5.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1263, allocations: 0 / 447 MB, free: 5.184 MB / 414.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.001639/0.1279, allocations: 1.122 MB / 448.1 MB, free: 4.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.128, allocations: 12.03 kB / 448.1 MB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1281, allocations: 107.6 kB / 448.2 MB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1294, allocations: 0.8694 MB / 449.1 MB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1294, allocations: 12.5 kB / 449.1 MB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.1294, allocations: 27.95 kB / 449.1 MB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.1299, allocations: 226.8 kB / 449.3 MB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1299, allocations: 7.938 kB / 449.3 MB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1299, allocations: 15.98 kB / 449.4 MB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1299, allocations: 11.94 kB / 449.4 MB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.1302, allocations: 137.9 kB / 449.5 MB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.1319, allocations: 1.131 MB / 450.6 MB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.1323, allocations: 181.2 kB / 450.8 MB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.1325, allocations: 80.83 kB / 450.9 MB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1325, allocations: 0 / 450.9 MB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1326, allocations: 38.55 kB / 450.9 MB, free: 1.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.1326, allocations: 4 kB / 450.9 MB, free: 1.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.001671/0.1342, allocations: 0.9108 MB / 451.8 MB, free: 92 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.1343, allocations: 51.41 kB / 451.9 MB, free: 28 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.1364, allocations: 1.74 MB / 453.6 MB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.1364, allocations: 33.7 kB / 453.7 MB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.1368, allocations: 377.3 kB / 454 MB, free: 13.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.1369, allocations: 103.2 kB / 454.1 MB, free: 13.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.1372, allocations: 254.4 kB / 454.4 MB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1373, allocations: 353.9 kB / 454.7 MB, free: 13.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.138, allocations: 457.8 kB / 455.2 MB, free: 12.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/0.1387, allocations: 0.5545 MB / 455.7 MB, free: 12.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008598/0.1396, allocations: 0.6474 MB / 456.4 MB, free: 11.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1396, allocations: 0 / 456.4 MB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001856/0.1414, allocations: 1.291 MB / 457.7 MB, free: 10.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1414, allocations: 8 kB / 457.7 MB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1414, allocations: 0 / 457.7 MB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.1417, allocations: 73.67 kB / 457.7 MB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.1423, allocations: 191.9 kB / 457.9 MB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.1443, allocations: 2.159 MB / 460.1 MB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1445, allocations: 20.03 kB / 460.1 MB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.1446, allocations: 28 kB / 460.1 MB, free: 7.551 MB / 430.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.0004326/0.145, allocations: 389.6 kB / 460.5 MB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.1452, allocations: 95.33 kB / 460.6 MB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.1456, allocations: 254.5 kB / 460.9 MB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1456, allocations: 0 / 460.9 MB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1456, allocations: 0 / 460.9 MB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1456, allocations: 7.938 kB / 460.9 MB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1468, allocations: 0.7993 MB / 461.7 MB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1468, allocations: 4 kB / 461.7 MB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.147, allocations: 60 kB / 461.7 MB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.147, allocations: 0 / 461.7 MB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1471, allocations: 8 kB / 461.7 MB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1471, allocations: 0 / 461.7 MB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1471, allocations: 3.938 kB / 461.7 MB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1476, allocations: 452.9 kB / 462.2 MB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.1479, allocations: 143.4 kB / 462.3 MB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.148, allocations: 4 kB / 462.3 MB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1482, allocations: 8 kB / 462.3 MB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1482, allocations: 15.91 kB / 462.4 MB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1482, allocations: 16 kB / 462.4 MB, free: 5.246 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.1496, allocations: 1.134 MB / 463.5 MB, free: 4.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1496, allocations: 0 / 463.5 MB, free: 4.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005551/0.1502, allocations: 164 kB / 463.7 MB, free: 3.941 MB / 430.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.001377/0.1515, allocations: 387.1 kB / 464 MB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1527, allocations: 0.7773 MB / 464.8 MB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1527, allocations: 3.938 kB / 464.8 MB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1528, allocations: 71.92 kB / 464.9 MB, free: 2.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.1536, allocations: 130.3 kB / 465 MB, free: 2.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.1563, allocations: 1.976 MB / 467 MB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.1568, allocations: 479 kB / 467.5 MB, free: 220 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.157, allocations: 80.34 kB / 467.5 MB, free: 136 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1571, allocations: 40.5 kB / 467.6 MB, free: 96 kB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1571, allocations: 0 / 467.6 MB, free: 96 kB / 430.1 MB Notification: Performance of Templates: time 0.0139/0.171, allocations: 6.652 MB / 474.2 MB, free: 9.512 MB / 446.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 -s ida -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.576403545914218] Failed to read output from testmodel.py, exit status != 0: 0.1807200909825042 0.34081619099999994 0.21230041399999994 Calling exit ...