Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.008596/0.008596, allocations: 1.307 MB / 305.8 MB, free: 3.348 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/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.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.89 kB / 425.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 52.43 MB / 478.2 MB, free: 28.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.00473/0.3123, allocations: 3.275 MB / 481.5 MB, free: 25.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.3156, allocations: 2.245 MB / 483.8 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.3159, allocations: 13.94 kB / 483.8 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.3179, allocations: 1.072 MB / 484.9 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.3185, allocations: 358.3 kB / 485.2 MB, free: 23.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.3188, allocations: 143.5 kB / 485.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.3193, allocations: 0.5282 MB / 485.9 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.3195, allocations: 101.2 kB / 486 MB, free: 23.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3197, allocations: 242.5 kB / 486.2 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3201, allocations: 364.3 kB / 486.6 MB, free: 23.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.3201, allocations: 33.31 kB / 486.6 MB, free: 23.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.3204, allocations: 84.25 kB / 486.7 MB, free: 23.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.3206, allocations: 269.8 kB / 486.9 MB, free: 23.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.3209, allocations: 362.9 kB / 487.3 MB, free: 23.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009818/0.3219, allocations: 0.8953 MB / 488.2 MB, free: 22.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3219, allocations: 0 / 488.2 MB, free: 22.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3219, allocations: 3.938 kB / 488.2 MB, free: 22.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.3219, allocations: 0 / 488.2 MB, free: 22.63 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001426/0.3233, allocations: 1.197 MB / 489.4 MB, free: 21.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3234, allocations: 8.75 kB / 489.4 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3235, allocations: 103.3 kB / 489.5 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.3246, allocations: 0.9281 MB / 490.4 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3247, allocations: 17.5 kB / 490.4 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.3247, allocations: 28.02 kB / 490.5 MB, free: 21.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.3251, allocations: 218.3 kB / 490.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.3251, allocations: 7.875 kB / 490.7 MB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3251, allocations: 7.125 kB / 490.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3251, allocations: 11.22 kB / 490.7 MB, free: 20.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.3254, allocations: 149.9 kB / 490.9 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.3272, allocations: 1.332 MB / 492.2 MB, free: 20.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.3276, allocations: 254.8 kB / 492.4 MB, free: 19.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3278, allocations: 81.72 kB / 492.5 MB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3278, allocations: 2.875 kB / 492.5 MB, free: 19.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3278, allocations: 44.89 kB / 492.6 MB, free: 19.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/0.3278, allocations: 1.188 kB / 492.6 MB, free: 19.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00161/0.3294, allocations: 1.056 MB / 493.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.3295, allocations: 58.25 kB / 493.7 MB, free: 18.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.3315, allocations: 1.744 MB / 495.4 MB, free: 18.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3316, allocations: 26.95 kB / 495.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3318, allocations: 382.7 kB / 495.8 MB, free: 18.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.3319, allocations: 106.5 kB / 495.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.3322, allocations: 248.4 kB / 496.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.3323, allocations: 351.5 kB / 496.5 MB, free: 17.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.3328, allocations: 461.5 kB / 497 MB, free: 17.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.3334, allocations: 0.5474 MB / 497.5 MB, free: 17.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.3342, allocations: 0.6505 MB / 498.2 MB, free: 16.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3342, allocations: 0 / 498.2 MB, free: 16.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001805/0.336, allocations: 1.282 MB / 499.4 MB, free: 16.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3361, allocations: 9.125 kB / 499.5 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3361, allocations: 2.281 kB / 499.5 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.3364, allocations: 82.97 kB / 499.5 MB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.3369, allocations: 182.8 kB / 499.7 MB, free: 16.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.3385, allocations: 2.298 MB / 0.4902 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.339, allocations: 18.06 kB / 0.4903 GB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.3391, allocations: 30.53 kB / 0.4903 GB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005376/0.3396, allocations: 382.2 kB / 0.4907 GB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.3398, allocations: 90.73 kB / 0.4907 GB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.3402, allocations: 248.3 kB / 0.491 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3402, allocations: 3.25 kB / 0.491 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3402, allocations: 4.094 kB / 0.491 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3402, allocations: 2.547 kB / 0.491 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.3416, allocations: 0.9849 MB / 0.492 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3416, allocations: 0 / 0.492 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3419, allocations: 62 kB / 0.492 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3419, allocations: 1.125 kB / 0.492 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3419, allocations: 10.81 kB / 0.492 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3419, allocations: 6.312 kB / 0.492 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3419, allocations: 0 / 0.492 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.3424, allocations: 436.6 kB / 0.4924 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.3427, allocations: 228.5 kB / 0.4927 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.3428, allocations: 13.53 kB / 0.4927 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3429, allocations: 7.469 kB / 0.4927 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.343, allocations: 18.98 kB / 0.4927 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.343, allocations: 6.25 kB / 0.4927 GB, free: 12.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.3444, allocations: 1.138 MB / 0.4938 GB, free: 12.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3444, allocations: 0 / 0.4938 GB, free: 12.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006573/0.345, allocations: 169.7 kB / 0.494 GB, free: 12.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (damper.phi_rel,damper.w_rel,inertiaLoad.w,loadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001225/0.3462, allocations: 363.7 kB / 0.4943 GB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3475, allocations: 0.7691 MB / 0.4951 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3475, allocations: 0 / 0.4951 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3476, allocations: 84.02 kB / 0.4952 GB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.3484, allocations: 121.6 kB / 0.4953 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.3508, allocations: 1.952 MB / 0.4972 GB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.3514, allocations: 1.069 MB / 0.4982 GB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002261/0.3516, allocations: 81.94 kB / 0.4983 GB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3517, allocations: 42.34 kB / 0.4983 GB, free: 9.848 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3517, allocations: 0 / 0.4983 GB, free: 9.848 MB / 366.1 MB Notification: Performance of Templates: time 0.01696/0.3687, allocations: 6.726 MB / 0.5049 GB, free: 7.645 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile [Timeout 660] (rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.920076687820256]