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.000852/0.000852, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007954/0.0007954, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8652/0.8652, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.004957/0.004957, allocations: 0.9994 MB / 260.2 MB, free: 12.27 MB / 250.7 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 1.834e-06/1.834e-06, allocations: 0 / 382.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.071e-05, allocations: 5.094 kB / 382.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003918/0.003938, allocations: 3.063 MB / 385.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.006364, allocations: 2.254 MB / 388 MB, free: 8.738 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.006524, allocations: 11.94 kB / 388 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.008016, allocations: 1.062 MB / 389.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.008456, allocations: 406.1 kB / 389.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.008694, allocations: 142.6 kB / 389.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.00911, allocations: 0.5564 MB / 390.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.009274, allocations: 76.67 kB / 390.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.009519, allocations: 331.2 kB / 390.5 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.009776, allocations: 315.6 kB / 390.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.009814, allocations: 32 kB / 390.9 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.009945, allocations: 95.88 kB / 391 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.01011, allocations: 284.6 kB / 391.3 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.01026, allocations: 231.2 kB / 391.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.01097, allocations: 1.051 MB / 392.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01097, allocations: 0 / 392.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01097, allocations: 3.938 kB / 392.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.01098, allocations: 0 / 392.5 MB, free: 4.172 MB / 314.7 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.001282/0.01226, allocations: 1.328 MB / 393.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.0123, allocations: 8.031 kB / 393.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.327e-05/0.01239, allocations: 67.19 kB / 393.9 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.0125, allocations: 119.4 kB / 394.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006292/0.01879, allocations: 10.52 MB / 404.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.01881, allocations: 20.5 kB / 404.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.01886, allocations: 24 kB / 404.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.01914, allocations: 238.7 kB / 404.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.01916, allocations: 3.953 kB / 404.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.01918, allocations: 11.98 kB / 404.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.01919, allocations: 8 kB / 404.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.01938, allocations: 145.9 kB / 405 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.0218, allocations: 3.519 MB / 408.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.02209, allocations: 170.8 kB / 408.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.02222, allocations: 92.8 kB / 408.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.02224, allocations: 4 kB / 408.8 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.02226, allocations: 30.94 kB / 408.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.02226, allocations: 0 / 408.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001334/0.02359, allocations: 0.9564 MB / 409.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.02363, allocations: 55.41 kB / 409.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1587/0.1823, allocations: 13.9 MB / 423.7 MB, free: 37.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1823, allocations: 31.64 kB / 423.8 MB, free: 37.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.1826, allocations: 476.3 kB / 424.2 MB, free: 36.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.1826, allocations: 92.81 kB / 424.3 MB, free: 36.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.1827, allocations: 56.23 kB / 424.4 MB, free: 36.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.1827, allocations: 325.8 kB / 424.7 MB, free: 36.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.1828, allocations: 56.25 kB / 424.8 MB, free: 36.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.1829, allocations: 114.2 kB / 424.9 MB, free: 36.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.183, allocations: 179.4 kB / 425 MB, free: 36.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.183, allocations: 1.375 kB / 425 MB, free: 36.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005272/0.1836, allocations: 375.3 kB / 425.4 MB, free: 36.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1836, allocations: 7.469 kB / 425.4 MB, free: 36.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1836, allocations: 1.438 kB / 425.4 MB, free: 36.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.1838, allocations: 87.25 kB / 425.5 MB, free: 35.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1839, allocations: 50.31 kB / 425.6 MB, free: 35.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009365/0.1848, allocations: 2.164 MB / 427.7 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.185, allocations: 20.62 kB / 427.7 MB, free: 33.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.185, allocations: 11.06 kB / 427.7 MB, free: 33.92 MB / 330.7 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.0002663/0.1853, allocations: 378.5 kB / 428.1 MB, free: 33.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.1854, allocations: 107.9 kB / 428.2 MB, free: 33.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.1856, allocations: 295.5 kB / 428.5 MB, free: 33.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1856, allocations: 4.781 kB / 428.5 MB, free: 33.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1857, allocations: 4.594 kB / 428.5 MB, free: 33.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1857, allocations: 5.344 kB / 428.5 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007802/0.1864, allocations: 0.9646 MB / 429.5 MB, free: 33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1864, allocations: 2.812 kB / 429.5 MB, free: 33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1866, allocations: 60.73 kB / 429.5 MB, free: 32.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1866, allocations: 4.547 kB / 429.6 MB, free: 32.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1866, allocations: 0 / 429.6 MB, free: 32.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1866, allocations: 6.219 kB / 429.6 MB, free: 32.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1866, allocations: 0 / 429.6 MB, free: 32.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1869, allocations: 464.5 kB / 430 MB, free: 32.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.1871, allocations: 204.9 kB / 430.2 MB, free: 32.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.1871, allocations: 7.75 kB / 430.2 MB, free: 32.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1872, allocations: 25.7 kB / 430.2 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.1873, allocations: 14.55 kB / 430.3 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.1873, allocations: 8.891 kB / 430.3 MB, free: 32.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00431/0.1916, allocations: 11.13 MB / 441.4 MB, free: 22.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 441.4 MB, free: 22.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.1919, allocations: 115.1 kB / 441.5 MB, free: 22.23 MB / 330.7 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.0009349/0.1928, allocations: 1.283 MB / 442.8 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1932, allocations: 308.4 kB / 443.1 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1932, allocations: 0 / 443.1 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.1932, allocations: 77.28 kB / 443.2 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.1937, allocations: 146.8 kB / 443.3 MB, free: 20.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/0.2335, allocations: 43.99 MB / 487.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2338, allocations: 483 kB / 487.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.2341, allocations: 120.7 kB / 487.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.2343, allocations: 344.4 kB / 488.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.2343, allocations: 3.172 kB / 488.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.2783, allocations: 27.31 MB / 0.5035 GB, free: 12.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.824/9.102, allocations: 11.86 kB / 0.5035 GB, free: 12.79 MB / 394.7 MB " [Timeout remaining time 651] (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: 11.058767640963197] Failed to read output from testmodel.py, exit status != 0: 9.222434223629534 9.237639893 9.224055824 Calling exit ...