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.0009151/0.0009151, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009347/0.0009347, allocations: 165 kB / 23.02 MB, free: 1.551 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.005476/0.005476, allocations: 1.019 MB / 261 MB, free: 12.06 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 2.695e-06/2.695e-06, allocations: 0 / 330.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.395e-05, allocations: 2.312 kB / 330.8 MB, free: 18.63 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.004168/0.004202, allocations: 4.443 MB / 335.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.008447, allocations: 3.709 MB / 339 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.009099, allocations: 27.81 kB / 339 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.011, allocations: 1.163 MB / 340.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009374/0.01194, allocations: 0.5013 MB / 340.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.01264, allocations: 375 kB / 341 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.01344, allocations: 0.978 MB / 342 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.01376, allocations: 175.9 kB / 342.2 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006404/0.0144, allocations: 0.5338 MB / 342.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.01481, allocations: 445.9 kB / 343.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/0.01489, allocations: 64 kB / 343.2 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.01524, allocations: 219.7 kB / 343.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.01544, allocations: 364.3 kB / 343.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.01561, allocations: 283 kB / 344.1 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00089/0.0165, allocations: 0.926 MB / 345 MB, free: 4.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.0165, allocations: 4 kB / 345 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01651, allocations: 0 / 345 MB, free: 4.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.01652, allocations: 4 kB / 345 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.001512/0.01804, allocations: 1.702 MB / 346.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.01807, allocations: 12.02 kB / 346.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.01824, allocations: 183.4 kB / 346.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.01891, allocations: 0.7496 MB / 347.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.01893, allocations: 29 kB / 347.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.01899, allocations: 48 kB / 347.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.01944, allocations: 488 kB / 348.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.01945, allocations: 3.953 kB / 348.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.01948, allocations: 16 kB / 348.2 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01949, allocations: 15.98 kB / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.01974, allocations: 177.8 kB / 348.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.02162, allocations: 2.035 MB / 350.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.02206, allocations: 263.4 kB / 350.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.02223, allocations: 108.2 kB / 350.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.02227, allocations: 16.27 kB / 350.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.02249, allocations: 165.7 kB / 351 MB, free: 14.15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.02249, allocations: 0 / 351 MB, free: 14.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001645/0.02414, allocations: 1.236 MB / 352.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.02419, allocations: 132.5 kB / 352.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.02549, allocations: 1.505 MB / 353.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.02553, allocations: 41.7 kB / 353.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.02593, allocations: 0.6288 MB / 354.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.02604, allocations: 178.6 kB / 354.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.0263, allocations: 304.3 kB / 355 MB, free: 9.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.02645, allocations: 0.5394 MB / 355.5 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.0267, allocations: 176.8 kB / 355.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.02709, allocations: 447.3 kB / 356.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.02759, allocations: 475.8 kB / 356.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0276, allocations: 0 / 356.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001025/0.02862, allocations: 0.8279 MB / 357.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.02864, allocations: 11.98 kB / 357.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.02865, allocations: 0 / 357.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.02882, allocations: 43.61 kB / 357.5 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.02957, allocations: 311.7 kB / 357.8 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.03139, allocations: 4.491 MB / 362.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.03178, allocations: 35.98 kB / 362.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.03183, allocations: 36 kB / 362.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004398/0.03227, allocations: 313.4 kB / 362.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003693/0.03264, allocations: 455.2 kB / 363.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004678/0.03311, allocations: 471.7 kB / 363.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.03311, allocations: 4 kB / 363.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.000921/0.03403, allocations: 0.8121 MB / 364.4 MB, free: 40 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.03405, allocations: 11.94 kB / 364.4 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.03405, allocations: 7.984 kB / 364.4 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001195/0.03417, allocations: 39.66 kB / 364.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.03467, allocations: 267.9 kB / 364.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.03587, allocations: 2.635 MB / 367.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.03626, allocations: 39.98 kB / 367.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.0363, allocations: 40.22 kB / 367.4 MB, free: 12.85 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.0002077/0.03651, allocations: 325.7 kB / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.03665, allocations: 143.1 kB / 367.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/0.03719, allocations: 378.4 kB / 368.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.03719, allocations: 7.938 kB / 368.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.03719, allocations: 0 / 368.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.0372, allocations: 0 / 368.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.03868, allocations: 1.282 MB / 369.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.03869, allocations: 8.031 kB / 369.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.03893, allocations: 95.89 kB / 369.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.03893, allocations: 3.938 kB / 369.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.03895, allocations: 12 kB / 369.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.03896, allocations: 4 kB / 369.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.03896, allocations: 0 / 369.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.03962, allocations: 0.6416 MB / 370.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.0399, allocations: 199 kB / 370.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.03997, allocations: 16 kB / 370.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.04015, allocations: 15.98 kB / 370.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.04026, allocations: 36.44 kB / 370.6 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.04028, allocations: 12 kB / 370.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008994/0.04118, allocations: 0.8064 MB / 371.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.04118, allocations: 0 / 371.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008345/0.04202, allocations: 419.8 kB / 371.8 MB, free: 8.375 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.001548/0.04356, allocations: 0.7373 MB / 372.5 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.04509, allocations: 0.9794 MB / 373.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.0451, allocations: 0 / 373.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.04525, allocations: 139.5 kB / 373.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.0459, allocations: 213.7 kB / 373.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.04851, allocations: 2.11 MB / 376 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.0487, allocations: 271.8 kB / 376.2 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000507/0.04921, allocations: 329.1 kB / 376.5 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.04934, allocations: 60.48 kB / 376.6 MB, free: 3.785 MB / 298.7 MB Notification: Performance of SimCode: time 1.783e-06/0.04934, allocations: 0 / 376.6 MB, free: 3.785 MB / 298.7 MB Notification: Performance of Templates: time 0.01732/0.06666, allocations: 12.35 MB / 389 MB, free: 7.617 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: 3.4286606018431485]