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.001334/0.001334, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001423/0.001423, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.793 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.009312/0.009312, allocations: 1.3 MB / 313.7 MB, free: 1.715 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.84 kB / 436.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1007, allocations: 53.65 MB / 490.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005045/0.1058, allocations: 3.075 MB / 493.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.1095, allocations: 2.227 MB / 495.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1097, allocations: 11.94 kB / 495.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.1119, allocations: 1.062 MB / 496.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007245/0.1126, allocations: 398.3 kB / 497 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.113, allocations: 143.4 kB / 497.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.1136, allocations: 0.537 MB / 497.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.1138, allocations: 80.61 kB / 497.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.1141, allocations: 259 kB / 498.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000452/0.1146, allocations: 351.1 kB / 498.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.1146, allocations: 32 kB / 498.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1148, allocations: 95.89 kB / 498.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.1151, allocations: 272.7 kB / 498.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.1154, allocations: 250.1 kB / 499 MB, free: 1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1164, allocations: 0.9141 MB / 499.9 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1164, allocations: 0 / 499.9 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1164, allocations: 0 / 499.9 MB, free: 84 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1164, allocations: 4 kB / 499.9 MB, free: 80 kB / 350.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.001713/0.1181, allocations: 1.129 MB / 0.4893 GB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1182, allocations: 8.031 kB / 0.4893 GB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1183, allocations: 111.5 kB / 0.4894 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1196, allocations: 0.8656 MB / 0.4903 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1196, allocations: 16.5 kB / 0.4903 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.1197, allocations: 24 kB / 0.4903 GB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.1201, allocations: 226.8 kB / 0.4905 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1201, allocations: 7.938 kB / 0.4906 GB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1201, allocations: 12 kB / 0.4906 GB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1201, allocations: 7.938 kB / 0.4906 GB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.1204, allocations: 137.9 kB / 0.4907 GB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1222, allocations: 1.134 MB / 0.4918 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.1226, allocations: 178.8 kB / 0.492 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.1228, allocations: 80.83 kB / 0.4921 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1228, allocations: 8 kB / 0.4921 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1228, allocations: 34.56 kB / 0.4921 GB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.1228, allocations: 0 / 0.4921 GB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001672/0.1245, allocations: 0.9197 MB / 0.493 GB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1245, allocations: 55.41 kB / 0.4931 GB, free: 10.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.1265, allocations: 1.74 MB / 0.4948 GB, free: 9.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1266, allocations: 29.7 kB / 0.4948 GB, free: 9.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.1269, allocations: 377.3 kB / 0.4951 GB, free: 8.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.127, allocations: 111.2 kB / 0.4952 GB, free: 8.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.1273, allocations: 246.4 kB / 0.4955 GB, free: 8.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1275, allocations: 349.9 kB / 0.4958 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.1281, allocations: 465.8 kB / 0.4963 GB, free: 7.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.1288, allocations: 0.5506 MB / 0.4968 GB, free: 7.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008516/0.1296, allocations: 0.6474 MB / 0.4974 GB, free: 6.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1296, allocations: 4 kB / 0.4974 GB, free: 6.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001881/0.1315, allocations: 1.291 MB / 0.4987 GB, free: 5.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1315, allocations: 4 kB / 0.4987 GB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1315, allocations: 4 kB / 0.4987 GB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.1318, allocations: 77.83 kB / 0.4988 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.1324, allocations: 179.7 kB / 0.4989 GB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.1344, allocations: 2.155 MB / 0.5011 GB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.1347, allocations: 23.94 kB / 0.5011 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.1348, allocations: 36.16 kB / 0.5011 GB, free: 2.438 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.0004497/0.1352, allocations: 381.5 kB / 0.5015 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1354, allocations: 91.39 kB / 0.5016 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.1358, allocations: 250.4 kB / 0.5018 GB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1358, allocations: 4 kB / 0.5018 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.1358, allocations: 0 / 0.5018 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1358, allocations: 0 / 0.5018 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.137, allocations: 0.8099 MB / 0.5026 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.137, allocations: 0 / 0.5026 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1373, allocations: 55.97 kB / 0.5026 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.1373, allocations: 4 kB / 0.5026 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1373, allocations: 4 kB / 0.5027 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1373, allocations: 7.938 kB / 0.5027 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1373, allocations: 0 / 0.5027 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.1378, allocations: 445.6 kB / 0.5031 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.1382, allocations: 147.3 kB / 0.5032 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1382, allocations: 8 kB / 0.5032 GB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1384, allocations: 8.031 kB / 0.5032 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1384, allocations: 23.77 kB / 0.5033 GB, free: 152 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1384, allocations: 4 kB / 0.5033 GB, free: 148 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.2115/0.35, allocations: 1.135 MB / 0.5044 GB, free: 25.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.35, allocations: 2.656 kB / 0.5044 GB, free: 25.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008234/0.3508, allocations: 167.2 kB / 0.5045 GB, free: 25.79 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.001384/0.3522, allocations: 390.5 kB / 0.5049 GB, free: 25.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.3534, allocations: 0.767 MB / 0.5057 GB, free: 25.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3534, allocations: 1.719 kB / 0.5057 GB, free: 25.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3536, allocations: 80.44 kB / 0.5057 GB, free: 25.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.3543, allocations: 132.2 kB / 0.5059 GB, free: 25.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.3568, allocations: 1.971 MB / 0.5078 GB, free: 24.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.3573, allocations: 481.6 kB / 0.5082 GB, free: 24.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.3575, allocations: 77.23 kB / 0.5083 GB, free: 24.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3576, allocations: 37.66 kB / 0.5084 GB, free: 24.61 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3576, allocations: 0 / 0.5084 GB, free: 24.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01577/0.3734, allocations: 7.523 MB / 0.5157 GB, free: 23.16 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.825759259983897] Failed to read output from testmodel.py, exit status != 0: 0.38040735572576523 0.391072302 0.272591043 Calling exit ...