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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo", uses=false) Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009632, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008737/0.008737, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-alpha.1/package.mo): time 0.007899/0.0079, allocations: 1.265 MB / 292.7 MB, free: 0.8789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004478, allocations: 4 kB / 354.1 MB, free: 1.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3597, allocations: 50.7 MB / 404.8 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration): time 0.005885/0.3657, allocations: 4.086 MB / 408.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.3715, allocations: 3.404 MB / 412.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007413/0.3723, allocations: 18.09 kB / 412.3 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.3752, allocations: 1.079 MB / 413.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.3765, allocations: 407 kB / 413.8 MB, free: 5.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3778, allocations: 355.4 kB / 414.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3791, allocations: 0.8616 MB / 415 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.3796, allocations: 258.1 kB / 415.3 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.3802, allocations: 325.5 kB / 415.6 MB, free: 4.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.3808, allocations: 448.7 kB / 416 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.3809, allocations: 23.38 kB / 416.1 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.3813, allocations: 130.8 kB / 416.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.3817, allocations: 313.9 kB / 416.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.3821, allocations: 488.7 kB / 417 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3836, allocations: 1.212 MB / 418.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3837, allocations: 0 / 418.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3837, allocations: 7.938 kB / 418.2 MB, free: 3.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.3837, allocations: 0 / 418.2 MB, free: 3.062 MB / 286.1 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.00236/0.386, allocations: 1.368 MB / 419.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3861, allocations: 9.75 kB / 419.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.3863, allocations: 138.9 kB / 419.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.3877, allocations: 1.096 MB / 420.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.3878, allocations: 34.5 kB / 420.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-05/0.3878, allocations: 45.73 kB / 420.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.3888, allocations: 484 kB / 421.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.3888, allocations: 10.47 kB / 421.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.3889, allocations: 16.59 kB / 421.4 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.3889, allocations: 14.62 kB / 421.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.3897, allocations: 358.4 kB / 421.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.3932, allocations: 2.155 MB / 423.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3942, allocations: 469.2 kB / 424.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.3948, allocations: 204.1 kB / 424.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.393e-05/0.3949, allocations: 9.859 kB / 424.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006479/0.3955, allocations: 226.1 kB / 424.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.665e-06/0.3955, allocations: 0 / 424.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003996/0.3995, allocations: 1.774 MB / 426.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.3996, allocations: 111.3 kB / 426.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.4025, allocations: 2 MB / 428.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4026, allocations: 37.2 kB / 428.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.403, allocations: 486.7 kB / 429.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.4032, allocations: 178 kB / 429.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.4034, allocations: 142 kB / 429.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4035, allocations: 356.2 kB / 429.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008834/0.4044, allocations: 0.5436 MB / 430.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.4055, allocations: 0.6907 MB / 431.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.4071, allocations: 0.8849 MB / 432 MB, free: 10.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4071, allocations: 0 / 432 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002665/0.4097, allocations: 1.524 MB / 433.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.4099, allocations: 162.3 kB / 433.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.41, allocations: 0 / 433.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.4102, allocations: 40.83 kB / 433.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4116, allocations: 403.5 kB / 434.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/0.4148, allocations: 3.42 MB / 437.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/0.4155, allocations: 44.02 kB / 437.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.4156, allocations: 48.08 kB / 437.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.4156, allocations: 9.969 kB / 437.6 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002051/0.4177, allocations: 1.355 MB / 439 MB, free: 3.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4177, allocations: 4 kB / 439 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.4178, allocations: 44.72 kB / 439 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.4187, allocations: 259.7 kB / 439.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.42, allocations: 1.891 MB / 441.1 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.4206, allocations: 43.89 kB / 441.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.4206, allocations: 36 kB / 441.2 MB, free: 1.488 MB / 302.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: 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.0009055/0.4216, allocations: 0.4928 MB / 441.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.4217, allocations: 122.6 kB / 441.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4228, allocations: 0.502 MB / 442.3 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4228, allocations: 4 kB / 442.3 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4228, allocations: 7.984 kB / 442.4 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.4228, allocations: 11.81 kB / 442.4 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.4251, allocations: 1.446 MB / 443.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4252, allocations: 0 / 443.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.4256, allocations: 107.9 kB / 443.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.4256, allocations: 3.938 kB / 443.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.4257, allocations: 12 kB / 443.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4257, allocations: 4 kB / 443.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4257, allocations: 0 / 443.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.4271, allocations: 0.8147 MB / 444.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.4275, allocations: 275.5 kB / 445 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4276, allocations: 8.125 kB / 445 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.4281, allocations: 35.97 kB / 445.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4282, allocations: 31.97 kB / 445.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.4282, allocations: 11.98 kB / 445.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002509/0.4308, allocations: 1.311 MB / 446.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4308, allocations: 0 / 446.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002011/0.4328, allocations: 399.9 kB / 446.8 MB, free: 11.77 MB / 318.1 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 (46): * Single equations (assignments): 44 * 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.002437/0.4352, allocations: 0.704 MB / 447.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005017/0.4403, allocations: 1.859 MB / 449.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4403, allocations: 0 / 449.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005813/0.4409, allocations: 200 kB / 449.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.4427, allocations: 198.5 kB / 449.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.4487, allocations: 3.013 MB / 452.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.45, allocations: 1.194 MB / 454 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001322/0.4513, allocations: 389.2 kB / 454.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.4516, allocations: 63.41 kB / 454.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4516, allocations: 0 / 454.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of Templates: time 0.02321/0.4748, allocations: 10.83 MB / 465.2 MB, free: 9.699 MB / 334.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.makefile (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=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.pipe 2>&1)