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.0009336/0.0009336, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001031/0.001031, allocations: 181 kB / 23.36 MB, free: 1.133 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.9421/0.9421, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.005377/0.005377, allocations: 1.026 MB / 261.3 MB, free: 11.93 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.643e-06/1.643e-06, allocations: 0 / 278.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.524e-05, allocations: 10.31 kB / 278.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004729/0.004744, allocations: 3.199 MB / 281.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.008596, allocations: 2.335 MB / 283.6 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.008833, allocations: 11.94 kB / 283.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.01097, allocations: 1.082 MB / 284.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.01166, allocations: 402.1 kB / 285.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.01201, allocations: 139.6 kB / 285.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.01242, allocations: 0.5564 MB / 285.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.01257, allocations: 93.23 kB / 285.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.01282, allocations: 331.1 kB / 286.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.01306, allocations: 275.7 kB / 286.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.01309, allocations: 32 kB / 286.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.01322, allocations: 83.95 kB / 286.6 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.01338, allocations: 284.7 kB / 286.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.0135, allocations: 183.3 kB / 287 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.01397, allocations: 0.5758 MB / 287.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01397, allocations: 4 kB / 287.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01397, allocations: 0 / 287.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.01398, allocations: 3.938 kB / 287.6 MB, free: 1.535 MB / 266.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.0008757/0.01485, allocations: 1.061 MB / 288.7 MB, free: 456 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.6e-05/0.01488, allocations: 12.03 kB / 288.7 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.01496, allocations: 72.25 kB / 288.8 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1049/0.1198, allocations: 0.5848 MB / 289.3 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1199, allocations: 19.09 kB / 289.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.1199, allocations: 24.86 kB / 289.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1201, allocations: 173.3 kB / 289.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1201, allocations: 5.625 kB / 289.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1201, allocations: 9.281 kB / 289.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1202, allocations: 7.672 kB / 289.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1203, allocations: 67.66 kB / 289.6 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.121, allocations: 0.6434 MB / 290.3 MB, free: 23.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1212, allocations: 122.9 kB / 290.4 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.1213, allocations: 51.12 kB / 290.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1213, allocations: 4.062 kB / 290.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.1213, allocations: 37.86 kB / 290.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.1213, allocations: 0.625 kB / 290.5 MB, free: 23.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008093/0.1221, allocations: 0.6014 MB / 291.1 MB, free: 22.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1221, allocations: 55.97 kB / 291.2 MB, free: 22.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.123, allocations: 1.057 MB / 292.2 MB, free: 22.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.123, allocations: 31.39 kB / 292.2 MB, free: 22.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1231, allocations: 264.7 kB / 292.5 MB, free: 22.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.1231, allocations: 114.2 kB / 292.6 MB, free: 22.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1233, allocations: 227 kB / 292.8 MB, free: 22.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.1234, allocations: 346.7 kB / 293.2 MB, free: 22.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1235, allocations: 119.9 kB / 293.3 MB, free: 22.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.1237, allocations: 190.2 kB / 293.5 MB, free: 22.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.1239, allocations: 327.2 kB / 293.8 MB, free: 22.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1239, allocations: 1.875 kB / 293.8 MB, free: 22.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0006242/0.1246, allocations: 0.5036 MB / 294.3 MB, free: 21.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1246, allocations: 9.344 kB / 294.3 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1246, allocations: 2.188 kB / 294.3 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.1248, allocations: 71.25 kB / 294.4 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1251, allocations: 180.7 kB / 294.6 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000678/0.1258, allocations: 1.952 MB / 296.5 MB, free: 20.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.1259, allocations: 28.42 kB / 296.5 MB, free: 20.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.126, allocations: 22.08 kB / 296.6 MB, free: 20.17 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.0001085/0.1261, allocations: 154 kB / 296.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.1262, allocations: 56.7 kB / 296.8 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.1263, allocations: 166.5 kB / 296.9 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1263, allocations: 2.875 kB / 296.9 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1263, allocations: 3.938 kB / 296.9 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1263, allocations: 4.953 kB / 296.9 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1269, allocations: 0.5358 MB / 297.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1269, allocations: 3.406 kB / 297.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.127, allocations: 56.64 kB / 297.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1271, allocations: 4.938 kB / 297.5 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1271, allocations: 6.703 kB / 297.5 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1271, allocations: 2.891 kB / 297.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1271, allocations: 0 / 297.6 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1273, allocations: 305.9 kB / 297.8 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1274, allocations: 113.5 kB / 298 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.1274, allocations: 6.938 kB / 298 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.1275, allocations: 5.656 kB / 298 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.1275, allocations: 15.7 kB / 298 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1275, allocations: 7.469 kB / 298 MB, free: 19.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004324/0.128, allocations: 0.5168 MB / 298.5 MB, free: 19.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.128, allocations: 0 / 298.5 MB, free: 19.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.1283, allocations: 168.8 kB / 298.7 MB, free: 19.54 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.0008793/0.1292, allocations: 453.9 kB / 299.1 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.1296, allocations: 440 kB / 299.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.1296, allocations: 10.11 kB / 299.6 MB, free: 19.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.1297, allocations: 62.27 kB / 299.6 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1301, allocations: 131.8 kB / 299.7 MB, free: 19.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1316, allocations: 1.474 MB / 301.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1318, allocations: 223 kB / 301.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1319, allocations: 63.62 kB / 301.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1321, allocations: 141 kB / 301.6 MB, free: 18.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1321, allocations: 0 / 301.6 MB, free: 18.43 MB / 266.7 MB Notification: Performance of Templates: time 0.009154/0.1412, allocations: 7.202 MB / 308.8 MB, free: 14.53 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.723972409032285]