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.00287/0.00287, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002413/0.002413, allocations: 218.1 kB / 23.01 MB, free: 5.125 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 2.04/2.04, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.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.02127/0.02127, allocations: 1.298 MB / 314.5 MB, free: 1.844 MB / 238.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.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 0.002374/0.002374, allocations: 67.89 kB / 437.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1356, allocations: 53.65 MB / 491.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.007164/0.1428, allocations: 4.294 MB / 495.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.1482, allocations: 2.826 MB / 498.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.1487, allocations: 23.88 kB / 498.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.1602, allocations: 1.151 MB / 499.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.1619, allocations: 450.9 kB / 499.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.163, allocations: 326.7 kB / 0.4884 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1644, allocations: 0.8728 MB / 0.4893 GB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.1649, allocations: 167.3 kB / 0.4894 GB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.1654, allocations: 378.5 kB / 0.4898 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.166, allocations: 498.4 kB / 0.4903 GB, free: 15.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.693e-05/0.1661, allocations: 56 kB / 0.4903 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.1664, allocations: 116 kB / 0.4904 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.1667, allocations: 344.4 kB / 0.4908 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.1672, allocations: 496.7 kB / 0.4912 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.1688, allocations: 1.202 MB / 0.4924 GB, free: 12.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1688, allocations: 3.938 kB / 0.4924 GB, free: 12.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1688, allocations: 0 / 0.4924 GB, free: 12.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1688, allocations: 0 / 0.4924 GB, free: 12.81 MB / 366.1 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.002861/0.1717, allocations: 1.442 MB / 0.4938 GB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1717, allocations: 8.031 kB / 0.4938 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1719, allocations: 147.4 kB / 0.494 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.1737, allocations: 1.007 MB / 0.495 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/0.1743, allocations: 33 kB / 0.495 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.1743, allocations: 36 kB / 0.495 GB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.1754, allocations: 0.4992 MB / 0.4955 GB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.1754, allocations: 7.953 kB / 0.4955 GB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.1755, allocations: 16 kB / 0.4955 GB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1755, allocations: 15.94 kB / 0.4955 GB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1765, allocations: 415.6 kB / 0.4959 GB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.1799, allocations: 2.14 MB / 0.498 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.181, allocations: 382.6 kB / 0.4984 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.1815, allocations: 188.7 kB / 0.4986 GB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.1815, allocations: 15.92 kB / 0.4986 GB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.1816, allocations: 38.56 kB / 0.4986 GB, free: 6.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.415e-06/0.1816, allocations: 0 / 0.4986 GB, free: 6.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.005909/0.1875, allocations: 1.607 MB / 0.5002 GB, free: 4.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.1876, allocations: 110.8 kB / 0.5003 GB, free: 4.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.1902, allocations: 1.965 MB / 0.5022 GB, free: 2.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.1903, allocations: 29.7 kB / 0.5023 GB, free: 2.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.1908, allocations: 493.4 kB / 0.5027 GB, free: 1.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.1909, allocations: 166.7 kB / 0.5029 GB, free: 1.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.1913, allocations: 286.7 kB / 0.5032 GB, free: 1.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.1915, allocations: 353.9 kB / 0.5035 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.1926, allocations: 0.5838 MB / 0.5041 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2885/0.4811, allocations: 0.7166 MB / 0.5048 GB, free: 25.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.4832, allocations: 0.9118 MB / 0.5057 GB, free: 25.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.4832, allocations: 5.688 kB / 0.5057 GB, free: 25.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003509/0.4867, allocations: 1.569 MB / 0.5072 GB, free: 24.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4867, allocations: 6.469 kB / 0.5072 GB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4867, allocations: 2.281 kB / 0.5072 GB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/0.4992, allocations: 43.98 kB / 0.5072 GB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.5009, allocations: 351.7 kB / 0.5076 GB, free: 24.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.5028, allocations: 2.006 MB / 0.5095 GB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/0.5038, allocations: 59.31 kB / 0.5096 GB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/0.5039, allocations: 35.22 kB / 0.5096 GB, free: 23.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001653/0.5055, allocations: 0.9105 MB / 0.5105 GB, free: 22.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/0.5067, allocations: 0.7077 MB / 0.5112 GB, free: 22.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001553/0.5083, allocations: 0.8954 MB / 0.5121 GB, free: 22.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.5083, allocations: 0 / 0.5121 GB, free: 22.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.002914/0.5112, allocations: 1.545 MB / 0.5136 GB, free: 21.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5112, allocations: 7.266 kB / 0.5136 GB, free: 21.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5112, allocations: 2.344 kB / 0.5136 GB, free: 21.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.5114, allocations: 35.08 kB / 0.5136 GB, free: 21.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.5123, allocations: 268.8 kB / 0.5139 GB, free: 21.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000306/0.5126, allocations: 0.5453 MB / 0.5144 GB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.5133, allocations: 54.91 kB / 0.5145 GB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.5134, allocations: 40.38 kB / 0.5145 GB, free: 21.16 MB / 366.1 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 (kinematicPTP.noWphase,integrator.local_reset,speedController.I.local_reset) * 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.0003107/0.5137, allocations: 237.5 kB / 0.5147 GB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.5139, allocations: 126.2 kB / 0.5149 GB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.5152, allocations: 497.3 kB / 0.5153 GB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5152, allocations: 5.656 kB / 0.5153 GB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5152, allocations: 0.7031 kB / 0.5153 GB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5152, allocations: 2.531 kB / 0.5153 GB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.5177, allocations: 1.387 MB / 0.5167 GB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5177, allocations: 2.031 kB / 0.5167 GB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.5182, allocations: 109.6 kB / 0.5168 GB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.5182, allocations: 6.281 kB / 0.5168 GB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005152/0.5187, allocations: 7.406 kB / 0.5168 GB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.5187, allocations: 7.25 kB / 0.5168 GB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5188, allocations: 9.234 kB / 0.5168 GB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.5205, allocations: 0.8246 MB / 0.5176 GB, free: 19.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.5209, allocations: 188.5 kB / 0.5178 GB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.521, allocations: 12.45 kB / 0.5178 GB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.5214, allocations: 33.62 kB / 0.5179 GB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5215, allocations: 39.53 kB / 0.5179 GB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.5215, allocations: 15.08 kB / 0.5179 GB, free: 19.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00194/0.5234, allocations: 1.27 MB / 0.5192 GB, free: 19.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5234, allocations: 0 / 0.5192 GB, free: 19.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001468/0.5249, allocations: 369.8 kB / 0.5195 GB, free: 18.96 MB / 366.1 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.006141/0.5311, allocations: 379.4 kB / 0.5199 GB, free: 18.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004115/0.5352, allocations: 1.71 MB / 0.5215 GB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.5352, allocations: 1.469 kB / 0.5215 GB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008761/0.5361, allocations: 202 kB / 0.5217 GB, free: 18.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5373, allocations: 201.6 kB / 0.5219 GB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.5412, allocations: 2.348 MB / 0.5242 GB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.5419, allocations: 1.111 MB / 0.5253 GB, free: 16.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.5422, allocations: 55.3 kB / 0.5254 GB, free: 16.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.305e-06/0.5422, allocations: 0 / 0.5254 GB, free: 16.29 MB / 366.1 MB Notification: Performance of Templates: time 0.0225/0.5647, allocations: 17.08 MB / 0.542 GB, free: 1.027 MB / 366.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.335452329134569] Failed to read output from testmodel.py, exit status != 0: 0.5744192290585488 0.589583168 0.41765543200000005 Calling exit ...