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.001937/0.001937, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002011/0.002011, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.01128/0.01128, allocations: 1.02 MB / 260.6 MB, free: 12.1 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 1.152e-06/1.152e-06, allocations: 0 / 330.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.087e-05, allocations: 3.016 kB / 330.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.00454/0.004561, allocations: 4.399 MB / 334.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.00886, allocations: 3.672 MB / 338.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.009218, allocations: 27.88 kB / 338.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.01111, allocations: 1.159 MB / 339.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007069/0.01181, allocations: 0.5129 MB / 339.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.01244, allocations: 371 kB / 340.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.01303, allocations: 0.9742 MB / 341.2 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.0133, allocations: 171.9 kB / 341.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.0138, allocations: 0.5454 MB / 341.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.01436, allocations: 439.2 kB / 342.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.109e-05/0.01445, allocations: 64 kB / 342.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.01476, allocations: 219.8 kB / 342.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.01496, allocations: 364.4 kB / 343 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.01518, allocations: 282.9 kB / 343.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.01617, allocations: 1.347 MB / 344.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01617, allocations: 0 / 344.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01617, allocations: 0 / 344.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.01618, allocations: 0 / 344.6 MB, free: 4.375 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001939/0.01812, allocations: 1.764 MB / 346.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.01815, allocations: 12.03 kB / 346.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.01834, allocations: 179.4 kB / 346.6 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/0.01924, allocations: 0.7574 MB / 347.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.01927, allocations: 33 kB / 347.4 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.01933, allocations: 47.98 kB / 347.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.01997, allocations: 0.5579 MB / 348 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.02, allocations: 7.953 kB / 348 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.02003, allocations: 23.98 kB / 348 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.02004, allocations: 12 kB / 348 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.02059, allocations: 303.8 kB / 348.3 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/0.02418, allocations: 2.27 MB / 350.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/0.02503, allocations: 351.5 kB / 350.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.02543, allocations: 172.2 kB / 351.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.02547, allocations: 12.27 kB / 351.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.02592, allocations: 213.7 kB / 351.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.833e-06/0.02592, allocations: 0 / 351.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.003266/0.02919, allocations: 1.536 MB / 352.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.02929, allocations: 136.5 kB / 353 MB, free: 11.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.03177, allocations: 1.708 MB / 354.7 MB, free: 9.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.03182, allocations: 37.7 kB / 354.7 MB, free: 9.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007463/0.03257, allocations: 0.664 MB / 355.4 MB, free: 9.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.03275, allocations: 186.6 kB / 355.6 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000504/0.03326, allocations: 340.4 kB / 355.9 MB, free: 8.688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/0.03362, allocations: 0.5745 MB / 356.5 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.03416, allocations: 236.8 kB / 356.7 MB, free: 7.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.03528, allocations: 0.5305 MB / 357.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.03642, allocations: 0.6167 MB / 357.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.03642, allocations: 0 / 357.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001924/0.03835, allocations: 0.949 MB / 358.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.03837, allocations: 4 kB / 358.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.03838, allocations: 4 kB / 358.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.0386, allocations: 43.66 kB / 358.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.03984, allocations: 315.6 kB / 359.2 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.04386, allocations: 4.619 MB / 363.8 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.04435, allocations: 35.98 kB / 363.8 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.04442, allocations: 36 kB / 363.9 MB, free: 332 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/0.04551, allocations: 437.6 kB / 364.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007833/0.0463, allocations: 0.515 MB / 364.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001058/0.04735, allocations: 0.5974 MB / 365.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/0.04736, allocations: 4 kB / 365.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.001827/0.04919, allocations: 0.9215 MB / 366.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.0492, allocations: 7.938 kB / 366.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.04921, allocations: 4 kB / 366.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.04938, allocations: 43.94 kB / 366.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/0.0503, allocations: 263.6 kB / 366.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.05239, allocations: 2.682 MB / 369.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.05285, allocations: 35.98 kB / 369.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.05292, allocations: 36 kB / 369.4 MB, free: 10.49 MB / 298.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.0003051/0.05322, allocations: 319.8 kB / 369.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.05343, allocations: 147.2 kB / 369.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.05448, allocations: 482.5 kB / 370.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.05448, allocations: 11.94 kB / 370.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.05448, allocations: 0 / 370.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-06/0.05449, allocations: 7.922 kB / 370.3 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.05738, allocations: 1.512 MB / 371.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.05739, allocations: 0 / 371.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.05785, allocations: 99.88 kB / 371.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.05785, allocations: 0 / 371.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.05789, allocations: 16.03 kB / 372 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.05789, allocations: 4 kB / 372 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.05789, allocations: 0 / 372 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.05931, allocations: 0.8407 MB / 372.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.05977, allocations: 191.1 kB / 373 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.05988, allocations: 12 kB / 373 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.0602, allocations: 19.98 kB / 373 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.0603, allocations: 36.44 kB / 373.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.06033, allocations: 8 kB / 373.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.06174, allocations: 0.9197 MB / 374 MB, free: 5.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06174, allocations: 0 / 374 MB, free: 5.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001094/0.06284, allocations: 419.8 kB / 374.4 MB, free: 5.387 MB / 298.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.005549/0.06839, allocations: 0.826 MB / 375.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.07123, allocations: 1.198 MB / 376.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.07123, allocations: 0.6875 kB / 376.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.07164, allocations: 203.4 kB / 376.6 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.07273, allocations: 222.1 kB / 376.8 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.07658, allocations: 2.182 MB / 379 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.07732, allocations: 0.5904 MB / 379.6 MB, free: 476 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000793/0.07811, allocations: 325.1 kB / 379.9 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.0783, allocations: 64.48 kB / 380 MB, free: 84 kB / 298.7 MB Notification: Performance of SimCode: time 1.001e-06/0.0783, allocations: 0 / 380 MB, free: 84 kB / 298.7 MB Notification: Performance of Templates: time 0.02567/0.104, allocations: 12.26 MB / 392.2 MB, free: 4.004 MB / 314.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: 5.1553015150129795]