Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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.001044/0.001044, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001139/0.001139, allocations: 169 kB / 23.49 MB, free: 1.059 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 1.201/1.201, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.006502/0.006502, allocations: 1.012 MB / 261.3 MB, free: 12.14 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_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.238e-06/4.238e-06, allocations: 0 / 330.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.682e-05/5.106e-05, allocations: 6.312 kB / 330.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.00776/0.007811, allocations: 4.426 MB / 335.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00762/0.01543, allocations: 3.71 MB / 339 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.01682, allocations: 19.88 kB / 339 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.02022, allocations: 1.159 MB / 340.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.02201, allocations: 0.4974 MB / 340.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.02356, allocations: 378.9 kB / 341 MB, free: 9.766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.0255, allocations: 0.9703 MB / 342 MB, free: 8.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.0261, allocations: 179.9 kB / 342.2 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.0273, allocations: 0.5454 MB / 342.7 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.02789, allocations: 439.2 kB / 343.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.719e-05/0.02798, allocations: 60 kB / 343.2 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.02861, allocations: 223.7 kB / 343.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.02895, allocations: 364.3 kB / 343.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.02923, allocations: 279 kB / 344.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.03086, allocations: 0.926 MB / 345 MB, free: 5.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.03087, allocations: 0 / 345 MB, free: 5.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.03087, allocations: 0 / 345 MB, free: 5.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.03088, allocations: 4 kB / 345 MB, free: 5.781 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.00241/0.03329, allocations: 1.706 MB / 346.7 MB, free: 4.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.03336, allocations: 12.03 kB / 346.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.03363, allocations: 187.3 kB / 346.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.03465, allocations: 0.738 MB / 347.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.03471, allocations: 32.94 kB / 347.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.03479, allocations: 51.98 kB / 347.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.0358, allocations: 480 kB / 348.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.03583, allocations: 15.88 kB / 348.2 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.03587, allocations: 16 kB / 348.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.03589, allocations: 15.98 kB / 348.2 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.03627, allocations: 169.9 kB / 348.4 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.03875, allocations: 2.042 MB / 350.4 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.0394, allocations: 273.4 kB / 350.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.03963, allocations: 108.2 kB / 350.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.03968, allocations: 8.266 kB / 350.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.03999, allocations: 161.7 kB / 351 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 5.169e-06/0.04, allocations: 0 / 351 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.002256/0.04226, allocations: 1.244 MB / 352.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.04234, allocations: 132.5 kB / 352.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.04384, allocations: 1.505 MB / 353.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.04388, allocations: 37.7 kB / 353.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004828/0.04436, allocations: 0.6288 MB / 354.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.04449, allocations: 178.6 kB / 354.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.0448, allocations: 300.4 kB / 355 MB, free: 11.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.04499, allocations: 0.5472 MB / 355.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.04528, allocations: 172.8 kB / 355.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.04569, allocations: 451.3 kB / 356.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.04625, allocations: 467.8 kB / 356.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.04625, allocations: 4 kB / 356.6 MB, free: 9.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001335/0.04759, allocations: 0.8238 MB / 357.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.04763, allocations: 6.344 kB / 357.4 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.04764, allocations: 4 kB / 357.4 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.04792, allocations: 43.94 kB / 357.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.04864, allocations: 311.5 kB / 357.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.05195, allocations: 4.491 MB / 362.3 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.05253, allocations: 40.02 kB / 362.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.05259, allocations: 36 kB / 362.4 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006093/0.0532, allocations: 313.4 kB / 362.7 MB, free: 3.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004392/0.05364, allocations: 447.3 kB / 363.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005716/0.05421, allocations: 471.5 kB / 363.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.05422, allocations: 0 / 363.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.001135/0.05535, allocations: 0.8199 MB / 364.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.05538, allocations: 12.22 kB / 364.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.05538, allocations: 4 kB / 364.4 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.05556, allocations: 43.59 kB / 364.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.05614, allocations: 259.7 kB / 364.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.05761, allocations: 2.647 MB / 367.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.05802, allocations: 35.98 kB / 367.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.05806, allocations: 36 kB / 367.4 MB, free: 14.25 MB / 346.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: 6 ($PRE.measurementsTable.nextTimeEvent,$whenCondition1,measurementsTable.nextTimeEventScaled,$PRE.measurementsTable.nextTimeEventScaled,measurementsTable.nextTimeEvent,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): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 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.0003206/0.05838, allocations: 323.7 kB / 367.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.05855, allocations: 151.1 kB / 367.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.0592, allocations: 370.7 kB / 368.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.05921, allocations: 15.88 kB / 368.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.05921, allocations: 0 / 368.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.05922, allocations: 3.984 kB / 368.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.06133, allocations: 1.274 MB / 369.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.06134, allocations: 8 kB / 369.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.06161, allocations: 95.88 kB / 369.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.06162, allocations: 4 kB / 369.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.06165, allocations: 12.03 kB / 369.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.06166, allocations: 0 / 369.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.06166, allocations: 4 kB / 369.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.06236, allocations: 0.6454 MB / 370.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.06264, allocations: 203 kB / 370.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.06271, allocations: 12 kB / 370.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.06288, allocations: 15.98 kB / 370.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/0.06298, allocations: 32.44 kB / 370.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.063, allocations: 12 kB / 370.6 MB, free: 11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009213/0.06393, allocations: 0.8103 MB / 371.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.06393, allocations: 0 / 371.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001044/0.06497, allocations: 415.9 kB / 371.8 MB, free: 9.777 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (damper.phi_rel,damper.w_rel,inertiaLoad.w,speedController.I.y,torqueLoad.phi,sine.phi) * Number of discrete variables: 3 ($whenCondition1,measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of discrete states: 2 (measurementsTable.nextTimeEvent,measurementsTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001952/0.06692, allocations: 0.742 MB / 372.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.06898, allocations: 0.9788 MB / 373.5 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.06899, allocations: 0.6875 kB / 373.5 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.0692, allocations: 139.4 kB / 373.6 MB, free: 8.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.07008, allocations: 225.1 kB / 373.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.07372, allocations: 2.099 MB / 375.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.07397, allocations: 267.8 kB / 376.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000674/0.07464, allocations: 333 kB / 376.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.07479, allocations: 68.47 kB / 376.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of SimCode: time 3.106e-06/0.0748, allocations: 4 kB / 376.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of Templates: time 0.02311/0.09791, allocations: 12.33 MB / 388.9 MB, free: 9.004 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.088878259062767]