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.001459/0.001459, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001673/0.001673, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.009047/0.009047, allocations: 1.294 MB / 314.5 MB, free: 1.84 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.2.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Credibility requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.91 kB / 437 MB, free: 16.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 53.66 MB / 490.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005702/0.1087, allocations: 3.3 MB / 493.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.1129, allocations: 2.41 MB / 496.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.1132, allocations: 7.938 kB / 496.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.1156, allocations: 1.094 MB / 497.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.1164, allocations: 394.4 kB / 497.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1169, allocations: 141.1 kB / 498 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.1175, allocations: 0.5449 MB / 498.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.1177, allocations: 88.59 kB / 498.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.118, allocations: 247 kB / 498.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.1185, allocations: 371.1 kB / 499.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.1185, allocations: 35.94 kB / 499.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1187, allocations: 95.95 kB / 499.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.119, allocations: 284.6 kB / 499.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.1194, allocations: 433.2 kB / 0.4883 GB, free: 1.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1207, allocations: 1.081 MB / 0.4894 GB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1207, allocations: 4 kB / 0.4894 GB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1207, allocations: 0 / 0.4894 GB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1207, allocations: 0 / 0.4894 GB, free: 15.95 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.002374/0.1231, allocations: 1.309 MB / 0.4907 GB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.1232, allocations: 8.031 kB / 0.4907 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.289e-05/0.1232, allocations: 16.61 kB / 0.4907 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.1234, allocations: 63.17 kB / 0.4907 GB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.1236, allocations: 123.1 kB / 0.4909 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.1344, allocations: 10.51 MB / 0.5011 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1344, allocations: 16.5 kB / 0.5011 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.1345, allocations: 39.92 kB / 0.5012 GB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.135, allocations: 234.7 kB / 0.5014 GB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.135, allocations: 3.984 kB / 0.5014 GB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.135, allocations: 15.94 kB / 0.5014 GB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.135, allocations: 4 kB / 0.5014 GB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.1353, allocations: 145.9 kB / 0.5016 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2295/0.3648, allocations: 3.64 MB / 0.5051 GB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.3653, allocations: 179.8 kB / 0.5053 GB, free: 27.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3655, allocations: 83.89 kB / 0.5054 GB, free: 27.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3655, allocations: 3.203 kB / 0.5054 GB, free: 27.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.3655, allocations: 39.78 kB / 0.5054 GB, free: 27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.3655, allocations: 0 / 0.5054 GB, free: 27 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001688/0.3672, allocations: 0.9257 MB / 0.5063 GB, free: 26.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.3672, allocations: 59.75 kB / 0.5064 GB, free: 26.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/0.3811, allocations: 13.89 MB / 0.5199 GB, free: 21.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.3812, allocations: 31.2 kB / 0.52 GB, free: 21.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.3816, allocations: 485.5 kB / 0.5204 GB, free: 21.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.3817, allocations: 89.31 kB / 0.5205 GB, free: 21.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3818, allocations: 55.06 kB / 0.5206 GB, free: 21.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.3819, allocations: 320 kB / 0.5209 GB, free: 20.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.382, allocations: 60.81 kB / 0.5209 GB, free: 20.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3821, allocations: 113.4 kB / 0.521 GB, free: 20.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3824, allocations: 177.3 kB / 0.5212 GB, free: 20.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3824, allocations: 1.125 kB / 0.5212 GB, free: 20.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008949/0.3833, allocations: 380.4 kB / 0.5216 GB, free: 20.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3833, allocations: 7.906 kB / 0.5216 GB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3833, allocations: 1.688 kB / 0.5216 GB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.3836, allocations: 81.88 kB / 0.5217 GB, free: 20.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3837, allocations: 50.11 kB / 0.5217 GB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3851, allocations: 2.181 MB / 0.5238 GB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.3855, allocations: 20.31 kB / 0.5239 GB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3855, allocations: 7.688 kB / 0.5239 GB, free: 18.22 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.0005969/0.3861, allocations: 377 kB / 0.5242 GB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.3863, allocations: 109.6 kB / 0.5243 GB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.3868, allocations: 294 kB / 0.5246 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3868, allocations: 3.969 kB / 0.5246 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3868, allocations: 0 / 0.5246 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3868, allocations: 3.703 kB / 0.5246 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.3886, allocations: 1.12 MB / 0.5257 GB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3886, allocations: 4.672 kB / 0.5257 GB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.3889, allocations: 52.38 kB / 0.5258 GB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3889, allocations: 0 / 0.5258 GB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3889, allocations: 7.688 kB / 0.5258 GB, free: 17.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.3889, allocations: 4.5 kB / 0.5258 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3889, allocations: 9.75 kB / 0.5258 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.3894, allocations: 459.3 kB / 0.5262 GB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.3897, allocations: 191.4 kB / 0.5264 GB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.3898, allocations: 6.281 kB / 0.5264 GB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.39, allocations: 18.31 kB / 0.5264 GB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.3901, allocations: 13.73 kB / 0.5264 GB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3901, allocations: 9.438 kB / 0.5265 GB, free: 16.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.007121/0.3972, allocations: 11.12 MB / 0.5373 GB, free: 6.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3972, allocations: 4 kB / 0.5373 GB, free: 6.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007142/0.3979, allocations: 113.4 kB / 0.5374 GB, free: 6.344 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,loadTorque.phi,$outputAlias_wa) * 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.001767/0.3997, allocations: 1.274 MB / 0.5387 GB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005634/0.4002, allocations: 300.4 kB / 0.539 GB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4002, allocations: 0 / 0.539 GB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4003, allocations: 83.12 kB / 0.539 GB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007868/0.4011, allocations: 130.5 kB / 0.5392 GB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06448/0.4656, allocations: 43.93 MB / 0.5821 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.4665, allocations: 1.082 MB / 0.5831 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000376/0.4669, allocations: 124.7 kB / 0.5832 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.4674, allocations: 351.3 kB / 0.5836 GB, free: 7.578 MB / 414.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4674, allocations: 0 / 0.5836 GB, free: 7.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06374/0.5311, allocations: 26.58 MB / 0.6095 GB, free: 13.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.03, allocations: 10.03 kB / 0.6095 GB, free: 13.14 MB / 446.1 MB " [Timeout remaining time 645] (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: 18.188108042930253] Failed to read output from testmodel.py, exit status != 0: 15.26617979304865 15.282941404 15.159032109 Calling exit ...