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.001658/0.001658, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001746/0.001746, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.961 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.009901/0.009901, allocations: 1.303 MB / 313.7 MB, free: 1.785 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.001925/0.001925, allocations: 67.89 kB / 436.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09874, allocations: 53.66 MB / 489.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005249/0.104, allocations: 3.304 MB / 493.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.1076, allocations: 2.413 MB / 495.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.108, allocations: 11.94 kB / 495.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.11, allocations: 1.088 MB / 496.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.1107, allocations: 397.8 kB / 497.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1111, allocations: 143.6 kB / 497.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.1117, allocations: 0.5449 MB / 497.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1119, allocations: 84.61 kB / 497.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.1121, allocations: 251 kB / 498.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1126, allocations: 359.1 kB / 498.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.1127, allocations: 32 kB / 498.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1129, allocations: 99.88 kB / 498.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1132, allocations: 288.6 kB / 498.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.1135, allocations: 429.2 kB / 499.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1146, allocations: 1.085 MB / 0.4886 GB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1146, allocations: 0 / 0.4886 GB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1146, allocations: 0 / 0.4886 GB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1147, allocations: 4 kB / 0.4886 GB, free: 15.91 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.002078/0.1167, allocations: 1.309 MB / 0.4899 GB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1168, allocations: 12.03 kB / 0.4899 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.719e-05/0.1169, allocations: 55.23 kB / 0.49 GB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.117, allocations: 123.3 kB / 0.4901 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/0.1283, allocations: 10.51 MB / 0.5003 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.1284, allocations: 20.5 kB / 0.5004 GB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.1284, allocations: 27.98 kB / 0.5004 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.1288, allocations: 222.8 kB / 0.5006 GB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1288, allocations: 11.95 kB / 0.5006 GB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1289, allocations: 4 kB / 0.5006 GB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1289, allocations: 11.94 kB / 0.5006 GB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1292, allocations: 149.8 kB / 0.5008 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2181/0.3473, allocations: 3.622 MB / 0.5043 GB, free: 26.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3478, allocations: 171.8 kB / 0.5045 GB, free: 26.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.348, allocations: 83.77 kB / 0.5046 GB, free: 26.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.348, allocations: 9.375 kB / 0.5046 GB, free: 26.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.348, allocations: 32.56 kB / 0.5046 GB, free: 26.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.348, allocations: 0 / 0.5046 GB, free: 26.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001851/0.3499, allocations: 0.9495 MB / 0.5055 GB, free: 26.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3499, allocations: 58.22 kB / 0.5056 GB, free: 26.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01401/0.3639, allocations: 13.89 MB / 0.5191 GB, free: 21.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.364, allocations: 31.25 kB / 0.5192 GB, free: 21.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.3644, allocations: 477.6 kB / 0.5196 GB, free: 20.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.3645, allocations: 101 kB / 0.5197 GB, free: 20.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.3646, allocations: 53.17 kB / 0.5198 GB, free: 20.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.3647, allocations: 316.6 kB / 0.5201 GB, free: 20.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3648, allocations: 60.84 kB / 0.5201 GB, free: 20.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3649, allocations: 110 kB / 0.5202 GB, free: 20.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3651, allocations: 181.2 kB / 0.5204 GB, free: 20.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3652, allocations: 1.156 kB / 0.5204 GB, free: 20.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007593/0.3659, allocations: 379.3 kB / 0.5208 GB, free: 20.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3659, allocations: 8.625 kB / 0.5208 GB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3659, allocations: 0 / 0.5208 GB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.3663, allocations: 84.62 kB / 0.5209 GB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3664, allocations: 45.36 kB / 0.5209 GB, free: 20.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.3679, allocations: 2.172 MB / 0.523 GB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.3683, allocations: 15.86 kB / 0.523 GB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3683, allocations: 15.67 kB / 0.5231 GB, free: 18.02 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.0004234/0.3687, allocations: 376.9 kB / 0.5234 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.3689, allocations: 109.6 kB / 0.5235 GB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.3695, allocations: 291.7 kB / 0.5238 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3695, allocations: 2.75 kB / 0.5238 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3695, allocations: 5.312 kB / 0.5238 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3695, allocations: 5 kB / 0.5238 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.3709, allocations: 1.122 MB / 0.5249 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3709, allocations: 0 / 0.5249 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.3712, allocations: 56.83 kB / 0.525 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3712, allocations: 3.562 kB / 0.525 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3712, allocations: 4 kB / 0.525 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3712, allocations: 8.719 kB / 0.525 GB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3712, allocations: 4 kB / 0.525 GB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.3717, allocations: 452.2 kB / 0.5254 GB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.3721, allocations: 200.4 kB / 0.5256 GB, free: 16.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.3722, allocations: 5.812 kB / 0.5256 GB, free: 16.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3724, allocations: 21.19 kB / 0.5256 GB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.3724, allocations: 16.62 kB / 0.5256 GB, free: 16.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.3724, allocations: 13.25 kB / 0.5257 GB, free: 16.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.006942/0.3794, allocations: 11.12 MB / 0.5365 GB, free: 6.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3794, allocations: 0 / 0.5365 GB, free: 6.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006333/0.38, allocations: 110.8 kB / 0.5366 GB, free: 6.102 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.001771/0.3818, allocations: 1.272 MB / 0.5379 GB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.3823, allocations: 320.1 kB / 0.5382 GB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3823, allocations: 0 / 0.5382 GB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3824, allocations: 70.83 kB / 0.5382 GB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.3833, allocations: 136.5 kB / 0.5384 GB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06428/0.4475, allocations: 43.95 MB / 0.5813 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.4485, allocations: 1.078 MB / 0.5823 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000384/0.4489, allocations: 120.7 kB / 0.5825 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.4494, allocations: 335.3 kB / 0.5828 GB, free: 7.277 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4494, allocations: 0 / 0.5828 GB, free: 7.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07201/0.5215, allocations: 26.55 MB / 0.6087 GB, free: 12.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/15.76, allocations: 8.062 kB / 0.6087 GB, free: 12.86 MB / 446.1 MB " [Timeout remaining time 644] (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.807878623949364] Failed to read output from testmodel.py, exit status != 0: 15.94281400507316 15.959990623 15.841779902 Calling exit ...