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.001557/0.001557, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00203/0.00203, allocations: 213.5 kB / 22.25 MB, free: 5.262 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.781 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.009138/0.009138, allocations: 1.298 MB / 313.7 MB, free: 1.629 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: "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.91 kB / 436.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1023, allocations: 53.67 MB / 489.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.00522/0.1076, allocations: 3.055 MB / 492.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.1119, allocations: 2.235 MB / 495.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1122, allocations: 11.94 kB / 495.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.1145, allocations: 1.059 MB / 496.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.1152, allocations: 402.1 kB / 496.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1156, allocations: 135.7 kB / 496.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006434/0.1162, allocations: 0.5487 MB / 497.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1165, allocations: 80.61 kB / 497.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.1167, allocations: 251 kB / 497.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.1172, allocations: 347.1 kB / 497.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.1172, allocations: 32 kB / 497.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.1174, allocations: 99.88 kB / 498 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.1177, allocations: 276.7 kB / 498.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.118, allocations: 313.8 kB / 498.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.1191, allocations: 1.105 MB / 499.7 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1191, allocations: 0 / 499.7 MB, free: 328 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1191, allocations: 8 kB / 499.7 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1192, allocations: 0 / 499.7 MB, free: 320 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.001996/0.1212, allocations: 1.305 MB / 0.4893 GB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1212, allocations: 8.031 kB / 0.4893 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.1213, allocations: 59.22 kB / 0.4893 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.1215, allocations: 123.3 kB / 0.4895 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.1327, allocations: 10.52 MB / 0.4997 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1327, allocations: 16.5 kB / 0.4997 GB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.1328, allocations: 28 kB / 0.4998 GB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.1332, allocations: 234.8 kB / 0.5 GB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.1332, allocations: 3.953 kB / 0.5 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1333, allocations: 4 kB / 0.5 GB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1333, allocations: 11.94 kB / 0.5 GB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1336, allocations: 145.9 kB / 0.5002 GB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.1375, allocations: 3.507 MB / 0.5036 GB, free: 200 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.138, allocations: 181.9 kB / 0.5037 GB, free: 12 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2211/0.3591, allocations: 77.2 kB / 0.5038 GB, free: 27.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.3591, allocations: 6.656 kB / 0.5038 GB, free: 27.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.3592, allocations: 39.61 kB / 0.5039 GB, free: 27.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.3592, allocations: 0 / 0.5039 GB, free: 27.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00199/0.3611, allocations: 0.9357 MB / 0.5048 GB, free: 27.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3612, allocations: 65.19 kB / 0.5048 GB, free: 27.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01349/0.3747, allocations: 13.89 MB / 0.5184 GB, free: 22.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.3747, allocations: 30.95 kB / 0.5184 GB, free: 22.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.3751, allocations: 483.4 kB / 0.5189 GB, free: 21.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.3752, allocations: 93.53 kB / 0.519 GB, free: 21.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.3753, allocations: 56 kB / 0.519 GB, free: 21.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.3753, allocations: 319.8 kB / 0.5193 GB, free: 21.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3754, allocations: 57.7 kB / 0.5194 GB, free: 21.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3755, allocations: 114.1 kB / 0.5195 GB, free: 21.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3758, allocations: 179.5 kB / 0.5197 GB, free: 21.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3758, allocations: 3.828 kB / 0.5197 GB, free: 21.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000805/0.3766, allocations: 376.9 kB / 0.52 GB, free: 20.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3766, allocations: 10.81 kB / 0.52 GB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3766, allocations: 0 / 0.52 GB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.3769, allocations: 80.75 kB / 0.5201 GB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3771, allocations: 49.69 kB / 0.5202 GB, free: 20.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.3784, allocations: 2.169 MB / 0.5223 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3787, allocations: 15.09 kB / 0.5223 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3787, allocations: 11.81 kB / 0.5223 GB, free: 18.79 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 (28): * Single equations (assignments): 26 * 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.0003969/0.3791, allocations: 369.3 kB / 0.5227 GB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.3792, allocations: 112.6 kB / 0.5228 GB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.3797, allocations: 297.5 kB / 0.5231 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3797, allocations: 3.625 kB / 0.5231 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.3797, allocations: 0 / 0.5231 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3797, allocations: 1.359 kB / 0.5231 GB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.381, allocations: 0.9672 MB / 0.524 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.381, allocations: 0 / 0.524 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3813, allocations: 58.27 kB / 0.5241 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3813, allocations: 0.6094 kB / 0.5241 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3813, allocations: 11.69 kB / 0.5241 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3813, allocations: 0.6562 kB / 0.5241 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3813, allocations: 2.109 kB / 0.5241 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.3817, allocations: 472.6 kB / 0.5245 GB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.3821, allocations: 200.6 kB / 0.5247 GB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.3822, allocations: 7.547 kB / 0.5247 GB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3824, allocations: 18.06 kB / 0.5247 GB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3824, allocations: 11.97 kB / 0.5248 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3824, allocations: 8 kB / 0.5248 GB, free: 17.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.007126/0.3896, allocations: 11.12 MB / 0.5356 GB, free: 6.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3896, allocations: 0.8438 kB / 0.5356 GB, free: 6.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000608/0.3902, allocations: 117 kB / 0.5357 GB, free: 6.77 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.001852/0.392, allocations: 1.279 MB / 0.537 GB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005566/0.3926, allocations: 304.2 kB / 0.5373 GB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3926, allocations: 0 / 0.5373 GB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3927, allocations: 71.91 kB / 0.5373 GB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008035/0.3935, allocations: 140.9 kB / 0.5375 GB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06806/0.4616, allocations: 44.01 MB / 0.5805 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.4622, allocations: 479 kB / 0.5809 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000351/0.4626, allocations: 120.4 kB / 0.581 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.4631, allocations: 339.2 kB / 0.5813 GB, free: 8.742 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4631, allocations: 0 / 0.5813 GB, free: 8.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06716/0.5302, allocations: 27.33 MB / 0.608 GB, free: 13.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.94, allocations: 4 kB / 0.608 GB, free: 13.56 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU.fmu > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.933931194245815] Failed to read output from testmodel.py, exit status != 0: 14.123819924890995 14.14109759 14.018791436 Calling exit ...