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.001495/0.001495, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.00182/0.00182, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.009434/0.009434, allocations: 1.3 MB / 314.5 MB, free: 1.641 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.001899/0.001899, allocations: 55.91 kB / 436.9 MB, free: 16.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.1006, allocations: 53.66 MB / 490.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005028/0.1056, allocations: 3.063 MB / 493.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.1093, allocations: 2.219 MB / 495.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1095, allocations: 11.94 kB / 495.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.1119, allocations: 1.069 MB / 496.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.1126, allocations: 394.3 kB / 497.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.113, allocations: 139.5 kB / 497.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006375/0.1136, allocations: 0.5449 MB / 498 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1138, allocations: 88.59 kB / 498.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1141, allocations: 247.1 kB / 498.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.1146, allocations: 375 kB / 498.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.1146, allocations: 32 kB / 498.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1148, allocations: 91.94 kB / 498.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.1151, allocations: 288.6 kB / 499.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.1154, allocations: 309.9 kB / 499.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1167, allocations: 1.105 MB / 0.4888 GB, free: 332 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1167, allocations: 0 / 0.4888 GB, free: 332 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1167, allocations: 0 / 0.4888 GB, free: 332 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.1167, allocations: 0 / 0.4888 GB, free: 332 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.00228/0.119, allocations: 1.313 MB / 0.49 GB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.1191, allocations: 8.031 kB / 0.4901 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.253e-05/0.1191, allocations: 12.69 kB / 0.4901 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.1192, allocations: 67.22 kB / 0.4901 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.1194, allocations: 119.1 kB / 0.4902 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.1309, allocations: 10.51 MB / 0.5005 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.131, allocations: 20.5 kB / 0.5005 GB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.1311, allocations: 27.95 kB / 0.5006 GB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1315, allocations: 238.7 kB / 0.5008 GB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1315, allocations: 4 kB / 0.5008 GB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.1316, allocations: 11.94 kB / 0.5008 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1316, allocations: 8 kB / 0.5008 GB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.1319, allocations: 149.9 kB / 0.501 GB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.1359, allocations: 3.514 MB / 0.5044 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2272/0.3631, allocations: 180.4 kB / 0.5046 GB, free: 27.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.3634, allocations: 86.23 kB / 0.5046 GB, free: 27.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3634, allocations: 2.812 kB / 0.5046 GB, free: 27.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3634, allocations: 32.97 kB / 0.5047 GB, free: 27.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.3634, allocations: 1.594 kB / 0.5047 GB, free: 27.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001867/0.3653, allocations: 0.9383 MB / 0.5056 GB, free: 27.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.3653, allocations: 59.89 kB / 0.5056 GB, free: 27.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/0.3781, allocations: 13.89 MB / 0.5192 GB, free: 22.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.3782, allocations: 34.92 kB / 0.5192 GB, free: 22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.3785, allocations: 475.8 kB / 0.5197 GB, free: 21.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.3786, allocations: 101.5 kB / 0.5198 GB, free: 21.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.3787, allocations: 56.53 kB / 0.5198 GB, free: 21.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.3787, allocations: 315.7 kB / 0.5202 GB, free: 21.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3788, allocations: 57.5 kB / 0.5202 GB, free: 21.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.379, allocations: 109.8 kB / 0.5203 GB, free: 21.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.3792, allocations: 182 kB / 0.5205 GB, free: 21.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3792, allocations: 0 / 0.5205 GB, free: 21.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008181/0.38, allocations: 375.7 kB / 0.5208 GB, free: 20.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.38, allocations: 9.141 kB / 0.5209 GB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3801, allocations: 2.281 kB / 0.5209 GB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.3804, allocations: 81.75 kB / 0.5209 GB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3805, allocations: 55.11 kB / 0.521 GB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3818, allocations: 2.162 MB / 0.5231 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.3822, allocations: 15.33 kB / 0.5231 GB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3822, allocations: 13.39 kB / 0.5231 GB, free: 18.74 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.0004109/0.3826, allocations: 370.2 kB / 0.5235 GB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3827, allocations: 117.9 kB / 0.5236 GB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.3832, allocations: 290.3 kB / 0.5239 GB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3832, allocations: 5.906 kB / 0.5239 GB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3832, allocations: 0 / 0.5239 GB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3832, allocations: 2.688 kB / 0.5239 GB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3844, allocations: 0.9676 MB / 0.5248 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3844, allocations: 3.312 kB / 0.5248 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.3846, allocations: 52.17 kB / 0.5249 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3846, allocations: 10.59 kB / 0.5249 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3847, allocations: 4.516 kB / 0.5249 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3847, allocations: 4.297 kB / 0.5249 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3847, allocations: 0 / 0.5249 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.3851, allocations: 458.8 kB / 0.5253 GB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.3854, allocations: 202.6 kB / 0.5255 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.3854, allocations: 8.609 kB / 0.5255 GB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3857, allocations: 8.562 kB / 0.5255 GB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.3857, allocations: 21.58 kB / 0.5256 GB, free: 17.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3857, allocations: 11 kB / 0.5256 GB, free: 17.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006543/0.3923, allocations: 11.12 MB / 0.5364 GB, free: 6.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3923, allocations: 3.938 kB / 0.5364 GB, free: 6.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.393, allocations: 115.3 kB / 0.5365 GB, free: 6.727 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.002017/0.395, allocations: 1.279 MB / 0.5378 GB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006452/0.3957, allocations: 296.4 kB / 0.5381 GB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3957, allocations: 0 / 0.5381 GB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3958, allocations: 78.77 kB / 0.5381 GB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.3967, allocations: 148.5 kB / 0.5383 GB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06474/0.4614, allocations: 43.96 MB / 0.5812 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.462, allocations: 483.2 kB / 0.5817 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.4623, allocations: 120.7 kB / 0.5818 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.4628, allocations: 351.3 kB / 0.5821 GB, free: 8.68 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4628, allocations: 0 / 0.5821 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05977/0.5226, allocations: 27.01 MB / 0.6085 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.05, allocations: 16.03 kB / 0.6085 GB, free: 13.88 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.27293440909125] Failed to read output from testmodel.py, exit status != 0: 15.290028852992691 15.316092453 15.194709015 Calling exit ...