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.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.001657/0.001657, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001962/0.001962, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 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.009373/0.009373, allocations: 1.295 MB / 314.5 MB, free: 1.867 MB / 238.1 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.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.001931/0.001931, allocations: 67.89 kB / 437.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1379, allocations: 53.66 MB / 491.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.006566/0.1444, allocations: 3.3 MB / 494.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004745/0.1492, allocations: 2.406 MB / 496.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.1495, allocations: 8 kB / 496.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.1524, allocations: 1.102 MB / 497.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008821/0.1532, allocations: 394.3 kB / 498.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.1537, allocations: 142 kB / 498.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.1545, allocations: 0.541 MB / 499 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.1548, allocations: 84.61 kB / 499.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.1551, allocations: 251 kB / 499.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.1557, allocations: 371.1 kB / 499.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.1557, allocations: 36 kB / 499.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.156, allocations: 95.89 kB / 499.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.1563, allocations: 280.6 kB / 0.4884 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.1567, allocations: 357.6 kB / 0.4887 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.158, allocations: 0.9024 MB / 0.4896 GB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.158, allocations: 0 / 0.4896 GB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.158, allocations: 4 kB / 0.4896 GB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.158, allocations: 0 / 0.4896 GB, free: 15.73 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.001944/0.1599, allocations: 1.129 MB / 0.4907 GB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.16, allocations: 8.031 kB / 0.4907 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1602, allocations: 107.6 kB / 0.4908 GB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.1616, allocations: 0.8655 MB / 0.4917 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.1616, allocations: 24.5 kB / 0.4917 GB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.1617, allocations: 20 kB / 0.4917 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.1621, allocations: 230.7 kB / 0.4919 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.1621, allocations: 7.953 kB / 0.4919 GB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1622, allocations: 4 kB / 0.4919 GB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1622, allocations: 11.94 kB / 0.4919 GB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1625, allocations: 141.9 kB / 0.4921 GB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.1645, allocations: 1.266 MB / 0.4933 GB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.1649, allocations: 186.8 kB / 0.4935 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1651, allocations: 82.5 kB / 0.4936 GB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1651, allocations: 4 kB / 0.4936 GB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1651, allocations: 34.94 kB / 0.4936 GB, free: 11.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.1651, allocations: 4 kB / 0.4936 GB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001731/0.1669, allocations: 0.9057 MB / 0.4945 GB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1669, allocations: 55.41 kB / 0.4945 GB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.1691, allocations: 1.752 MB / 0.4963 GB, free: 8.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1691, allocations: 33.7 kB / 0.4963 GB, free: 8.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.1695, allocations: 373.3 kB / 0.4966 GB, free: 8.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1696, allocations: 107.2 kB / 0.4967 GB, free: 8.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.1699, allocations: 250.4 kB / 0.497 GB, free: 7.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.1702, allocations: 349.9 kB / 0.4973 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.1708, allocations: 465.8 kB / 0.4978 GB, free: 7.082 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.1716, allocations: 0.5468 MB / 0.4983 GB, free: 6.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.1724, allocations: 0.6474 MB / 0.4989 GB, free: 5.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1724, allocations: 4 kB / 0.4989 GB, free: 5.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00205/0.1745, allocations: 1.287 MB / 0.5002 GB, free: 4.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1745, allocations: 6.812 kB / 0.5002 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1745, allocations: 4 kB / 0.5002 GB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.1748, allocations: 85.81 kB / 0.5003 GB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.1754, allocations: 179.7 kB / 0.5005 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.1776, allocations: 2.189 MB / 0.5026 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.1779, allocations: 24.03 kB / 0.5026 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/0.178, allocations: 28.16 kB / 0.5026 GB, free: 1.898 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.000541/0.1785, allocations: 389.4 kB / 0.503 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1787, allocations: 91.39 kB / 0.5031 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.1791, allocations: 254.5 kB / 0.5033 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1791, allocations: 0 / 0.5033 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1791, allocations: 0 / 0.5033 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1791, allocations: 7.984 kB / 0.5033 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1806, allocations: 0.9519 MB / 0.5043 GB, free: 140 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1806, allocations: 3.984 kB / 0.5043 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1808, allocations: 55.92 kB / 0.5043 GB, free: 80 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1808, allocations: 7.984 kB / 0.5043 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1808, allocations: 11.92 kB / 0.5044 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1809, allocations: 4.188 kB / 0.5044 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1809, allocations: 4 kB / 0.5044 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3332/0.514, allocations: 442.9 kB / 0.5048 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.5144, allocations: 145.9 kB / 0.5049 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.188e-05/0.5145, allocations: 9.781 kB / 0.5049 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5147, allocations: 5.906 kB / 0.5049 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.5147, allocations: 19.42 kB / 0.505 GB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5148, allocations: 5.422 kB / 0.505 GB, free: 25.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.5167, allocations: 1.141 MB / 0.5061 GB, free: 25.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5167, allocations: 3.531 kB / 0.5061 GB, free: 25.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007996/0.5175, allocations: 170.6 kB / 0.5062 GB, free: 25.68 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.001398/0.5189, allocations: 361.4 kB / 0.5066 GB, free: 25.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.5204, allocations: 0.7704 MB / 0.5073 GB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.5204, allocations: 0 / 0.5073 GB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5205, allocations: 82.7 kB / 0.5074 GB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.5213, allocations: 115.8 kB / 0.5075 GB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.5242, allocations: 1.86 MB / 0.5093 GB, free: 24.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.5249, allocations: 1.025 MB / 0.5103 GB, free: 23.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.525, allocations: 39.55 kB / 0.5104 GB, free: 23.8 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.525, allocations: 0 / 0.5104 GB, free: 23.8 MB / 366.1 MB Notification: Performance of Templates: time 0.0241/0.5491, allocations: 12.85 MB / 0.5229 GB, free: 19.12 MB / 366.1 MB " [Timeout remaining time 659] 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: 10.050937659107149] Failed to read output from testmodel.py, exit status != 0: 0.557066161185503 0.567994946 0.407618677 Calling exit ...