Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.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.001352/0.001352, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001615/0.001615, allocations: 177 kB / 23.36 MB, free: 1.129 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.9252/0.9252, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.008247/0.008247, allocations: 1.023 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.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.1e-05, allocations: 2.312 kB / 278 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.004563/0.004584, allocations: 4.084 MB / 282.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.007836, allocations: 2.74 MB / 284.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.008145, allocations: 23.88 kB / 284.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.009691, allocations: 1.136 MB / 286 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.01026, allocations: 453.7 kB / 286.4 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.01075, allocations: 339.1 kB / 286.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.01145, allocations: 0.8881 MB / 287.7 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.01169, allocations: 173.3 kB / 287.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.01216, allocations: 490.7 kB / 288.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.01249, allocations: 383.3 kB / 288.7 MB, free: 444 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.01256, allocations: 56 kB / 288.7 MB, free: 388 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.01271, allocations: 115.9 kB / 288.9 MB, free: 272 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.09824/0.111, allocations: 351.2 kB / 289.2 MB, free: 21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.1114, allocations: 263.1 kB / 289.5 MB, free: 21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.1123, allocations: 0.7726 MB / 290.2 MB, free: 20.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1123, allocations: 4.828 kB / 290.2 MB, free: 20.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1123, allocations: 1.25 kB / 290.2 MB, free: 20.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.1123, allocations: 3.844 kB / 290.2 MB, free: 20.96 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00156/0.1139, allocations: 1.359 MB / 291.6 MB, free: 20.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1139, allocations: 9.844 kB / 291.6 MB, free: 20.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.1141, allocations: 110.7 kB / 291.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.1149, allocations: 0.7033 MB / 292.4 MB, free: 19.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.1149, allocations: 31.34 kB / 292.4 MB, free: 19.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.115, allocations: 48.16 kB / 292.5 MB, free: 19.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.1155, allocations: 429.6 kB / 292.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1156, allocations: 7.5 kB / 292.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1156, allocations: 16.16 kB / 292.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1156, allocations: 10.97 kB / 292.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.1158, allocations: 136.7 kB / 293.1 MB, free: 19.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1171, allocations: 1.268 MB / 294.4 MB, free: 18.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.1175, allocations: 253.2 kB / 294.6 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1176, allocations: 74.58 kB / 294.7 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1176, allocations: 7.641 kB / 294.7 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1177, allocations: 34 kB / 294.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.655e-06/0.1177, allocations: 0 / 294.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001336/0.119, allocations: 0.805 MB / 295.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.119, allocations: 107.9 kB / 295.6 MB, free: 18.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.1202, allocations: 1.225 MB / 296.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1202, allocations: 30.64 kB / 296.9 MB, free: 18.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1204, allocations: 343.3 kB / 297.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.1205, allocations: 159.8 kB / 297.4 MB, free: 17.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.1207, allocations: 268.4 kB / 297.6 MB, free: 17.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.1208, allocations: 358.6 kB / 298 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.121, allocations: 151.6 kB / 298.1 MB, free: 17.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.1213, allocations: 319 kB / 298.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.1217, allocations: 424.4 kB / 298.9 MB, free: 17.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1217, allocations: 3.625 kB / 298.9 MB, free: 17.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0008442/0.1226, allocations: 0.5918 MB / 299.4 MB, free: 17.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1226, allocations: 7.094 kB / 299.5 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1226, allocations: 2.375 kB / 299.5 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.1227, allocations: 36.75 kB / 299.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.1233, allocations: 304.1 kB / 299.8 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005982/0.1239, allocations: 1.771 MB / 301.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.1242, allocations: 44.27 kB / 301.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.1242, allocations: 28.61 kB / 301.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000294/0.1245, allocations: 253.5 kB / 301.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002315/0.1247, allocations: 315.2 kB / 302.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003812/0.1251, allocations: 403.3 kB / 302.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.347e-06/0.1251, allocations: 1.375 kB / 302.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0006534/0.1258, allocations: 0.5883 MB / 303.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1258, allocations: 12.44 kB / 303.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1258, allocations: 2.25 kB / 303.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.881e-05/0.1259, allocations: 35.62 kB / 303.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.1263, allocations: 248.2 kB / 303.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001182/0.1265, allocations: 0.5373 MB / 304 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.1267, allocations: 45.09 kB / 304 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.1267, allocations: 26.17 kB / 304.1 MB, free: 14.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (speedController.I.local_reset,integrator.local_reset,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1268, allocations: 235 kB / 304.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.1269, allocations: 77.53 kB / 304.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.1272, allocations: 241.8 kB / 304.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1272, allocations: 3 kB / 304.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1272, allocations: 0 / 304.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1272, allocations: 4.812 kB / 304.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.1279, allocations: 0.7398 MB / 305.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1279, allocations: 3.156 kB / 305.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.1281, allocations: 91.27 kB / 305.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1281, allocations: 5.156 kB / 305.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1282, allocations: 11.22 kB / 305.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1282, allocations: 10.23 kB / 305.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1282, allocations: 128 / 305.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1284, allocations: 470.2 kB / 305.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1286, allocations: 139.5 kB / 306.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.1287, allocations: 9.75 kB / 306.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1288, allocations: 23.34 kB / 306.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1289, allocations: 28.3 kB / 306.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1289, allocations: 12.95 kB / 306.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.1293, allocations: 0.6046 MB / 306.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1293, allocations: 0 / 306.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.1298, allocations: 375.2 kB / 307.1 MB, free: 13.55 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,integrator.y,torqueLoad.phi) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0009577/0.1308, allocations: 451 kB / 307.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008044/0.1316, allocations: 0.7702 MB / 308.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.1316, allocations: 14.12 kB / 308.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.1317, allocations: 103.2 kB / 308.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.1322, allocations: 199.3 kB / 308.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1343, allocations: 1.912 MB / 310.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1345, allocations: 255.5 kB / 310.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000324/0.1348, allocations: 100.1 kB / 310.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.1351, allocations: 187.8 kB / 311.1 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1351, allocations: 4 kB / 311.1 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.01535/0.1504, allocations: 10.89 MB / 322 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original -abortSlowSimulation -alarm=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8020239188335836]