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.002165/0.002165, allocations: 93.47 kB / 19.44 MB, free: 336 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.00337/0.00337, allocations: 169.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.647/1.647, allocations: 177.1 MB / 203.1 MB, free: 5.559 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.01982/0.01982, allocations: 1.019 MB / 260.6 MB, free: 12.11 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_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 2.345e-06/2.345e-06, allocations: 0 / 330.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.322e-05, allocations: 3.156 kB / 330.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original): time 0.006929/0.006962, allocations: 4.11 MB / 334.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005644/0.01261, allocations: 2.677 MB / 336.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.0132, allocations: 27.81 kB / 336.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.01639, allocations: 1.117 MB / 338 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.01758, allocations: 469.6 kB / 338.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.01852, allocations: 319.3 kB / 338.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.01955, allocations: 0.8998 MB / 339.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.01994, allocations: 151.4 kB / 339.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.02054, allocations: 0.4948 MB / 340.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.02109, allocations: 411.3 kB / 340.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.02121, allocations: 60 kB / 340.8 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.02151, allocations: 111.9 kB / 340.9 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.02181, allocations: 352.4 kB / 341.3 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.02212, allocations: 263 kB / 341.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.02353, allocations: 1.184 MB / 342.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.02353, allocations: 0 / 342.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.02354, allocations: 0 / 342.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.02355, allocations: 0 / 342.7 MB, free: 6.293 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002944/0.02649, allocations: 1.648 MB / 344.4 MB, free: 4.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.02655, allocations: 8.031 kB / 344.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.02684, allocations: 171.4 kB / 344.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.02818, allocations: 0.7211 MB / 345.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.02822, allocations: 29 kB / 345.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.02831, allocations: 47.98 kB / 345.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.0294, allocations: 0.5364 MB / 345.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.02943, allocations: 0 / 345.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.02949, allocations: 16 kB / 345.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.0295, allocations: 12 kB / 345.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.03063, allocations: 347.7 kB / 346.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.03453, allocations: 2.411 MB / 348.6 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.03577, allocations: 366.1 kB / 349 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.03641, allocations: 156.2 kB / 349.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.03646, allocations: 8 kB / 349.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/0.03652, allocations: 49.19 kB / 349.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/0.03652, allocations: 0 / 349.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.00479/0.04131, allocations: 1.472 MB / 350.7 MB, free: 14.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.04144, allocations: 114.8 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.0451, allocations: 1.641 MB / 352.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.04516, allocations: 33.7 kB / 352.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.04619, allocations: 0.6407 MB / 353.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.04644, allocations: 174.7 kB / 353.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007688/0.04721, allocations: 352.3 kB / 353.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005203/0.04773, allocations: 0.5629 MB / 354.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009589/0.04869, allocations: 252.7 kB / 354.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.05005, allocations: 0.5136 MB / 354.9 MB, free: 9.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.05198, allocations: 0.6219 MB / 355.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.05199, allocations: 0 / 355.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003165/0.05515, allocations: 0.9491 MB / 356.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.0552, allocations: 14.19 kB / 356.5 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.05521, allocations: 4 kB / 356.5 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003125/0.05553, allocations: 43.66 kB / 356.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.0573, allocations: 307.6 kB / 356.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.06089, allocations: 2.746 MB / 359.6 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.06181, allocations: 43.98 kB / 359.7 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.06193, allocations: 35.98 kB / 359.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001397/0.06332, allocations: 441.3 kB / 360.1 MB, free: 4.238 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001242/0.06456, allocations: 0.5019 MB / 360.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/0.06591, allocations: 0.6104 MB / 361.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.06591, allocations: 0 / 361.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.00209/0.06801, allocations: 0.9487 MB / 362.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.06802, allocations: 4 kB / 362.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.06803, allocations: 4 kB / 362.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.06823, allocations: 39.92 kB / 362.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.0691, allocations: 259.6 kB / 362.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006681/0.06977, allocations: 0.8077 MB / 363.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.07035, allocations: 39.98 kB / 363.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.07043, allocations: 40 kB / 363.4 MB, free: 0.8398 MB / 282.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: 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.0003673/0.0708, allocations: 323.9 kB / 363.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.07101, allocations: 135.2 kB / 363.8 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.07208, allocations: 417 kB / 364.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.07209, allocations: 7.938 kB / 364.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.0721, allocations: 0 / 364.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.0721, allocations: 3.984 kB / 364.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.07495, allocations: 1.469 MB / 365.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.07495, allocations: 4 kB / 365.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.07541, allocations: 91.88 kB / 365.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.07542, allocations: 3.938 kB / 365.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.07546, allocations: 12 kB / 365.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.07546, allocations: 4.125 kB / 365.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.07546, allocations: 4 kB / 365.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.07702, allocations: 0.8118 MB / 366.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.07749, allocations: 183.1 kB / 366.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.07759, allocations: 11.98 kB / 366.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.07794, allocations: 27.98 kB / 366.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.07805, allocations: 31.94 kB / 366.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.07807, allocations: 8 kB / 366.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.07952, allocations: 0.879 MB / 367.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07952, allocations: 3.938 kB / 367.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001094/0.08062, allocations: 371.9 kB / 368.1 MB, free: 11.96 MB / 298.7 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.002612/0.08323, allocations: 388.8 kB / 368.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.08616, allocations: 1.18 MB / 369.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.08617, allocations: 4 kB / 369.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.0866, allocations: 184.1 kB / 369.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.08783, allocations: 218 kB / 370.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.09171, allocations: 2.054 MB / 372.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.09243, allocations: 0.5375 MB / 372.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008556/0.09328, allocations: 312.9 kB / 373 MB, free: 7.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.09347, allocations: 60.48 kB / 373.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.09347, allocations: 0 / 373.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of Templates: time 0.02326/0.1167, allocations: 10.02 MB / 383.1 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_original.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.101376635953784]