Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 100 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08791/0.2983, allocations: 78.05 MB / 454 MB, free: 2.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.2986, allocations: 71.94 kB / 454 MB, free: 2.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02239/0.321, allocations: 7.669 MB / 461.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.321, allocations: 0 / 461.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.3211, allocations: 4 kB / 461.7 MB, free: 10.86 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001427/0.3225, allocations: 0.6667 MB / 462.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.3225, allocations: 8.031 kB / 462.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.3227, allocations: 58.55 kB / 462.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.3228, allocations: 31.72 kB / 462.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3231, allocations: 264.7 kB / 462.7 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.3235, allocations: 131.9 kB / 462.8 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.3236, allocations: 24 kB / 462.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.3245, allocations: 411.9 kB / 463.3 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.3245, allocations: 3.906 kB / 463.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3245, allocations: 12 kB / 463.3 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3246, allocations: 4 kB / 463.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.3257, allocations: 464.7 kB / 463.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.327, allocations: 0.9843 MB / 464.7 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.3281, allocations: 451.5 kB / 465.2 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3281, allocations: 8 kB / 465.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3281, allocations: 42.56 kB / 465.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.3281, allocations: 0 / 465.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.004441/0.3326, allocations: 2.515 MB / 467.7 MB, free: 4.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3326, allocations: 110.8 kB / 467.8 MB, free: 4.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3328, allocations: 186.3 kB / 468 MB, free: 4.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3328, allocations: 33.7 kB / 468.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.3329, allocations: 144.6 kB / 468.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.333, allocations: 130.1 kB / 468.3 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.333, allocations: 12 kB / 468.3 MB, free: 3.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.3331, allocations: 334.8 kB / 468.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.3334, allocations: 112.8 kB / 468.8 MB, free: 3.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.3338, allocations: 169.4 kB / 468.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.3341, allocations: 131.8 kB / 469.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3341, allocations: 4 kB / 469.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007321/0.3348, allocations: 376.8 kB / 469.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3348, allocations: 8 kB / 469.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3349, allocations: 0 / 469.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3349, allocations: 4 kB / 469.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.3356, allocations: 175.9 kB / 469.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.3356, allocations: 3.984 kB / 469.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3358, allocations: 27.98 kB / 469.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.3358, allocations: 16 kB / 469.7 MB, free: 2.32 MB / 346.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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.336, allocations: 149.7 kB / 469.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.3361, allocations: 23.72 kB / 469.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.3361, allocations: 33.52 kB / 469.9 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3361, allocations: 8 kB / 469.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3361, allocations: 3.953 kB / 469.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3362, allocations: 0 / 469.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.3382, allocations: 1.395 MB / 471.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3383, allocations: 4 kB / 471.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/0.3391, allocations: 204 kB / 471.5 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3391, allocations: 4 kB / 471.5 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3392, allocations: 16 kB / 471.5 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.3392, allocations: 7.938 kB / 471.5 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3392, allocations: 3.984 kB / 471.5 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3411, allocations: 1.149 MB / 472.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3412, allocations: 128.8 kB / 472.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.3413, allocations: 11.95 kB / 472.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.3417, allocations: 67.94 kB / 472.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.3418, allocations: 39.94 kB / 472.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3418, allocations: 8 kB / 472.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.3419, allocations: 148.6 kB / 473.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.342, allocations: 0 / 473.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004057/0.3424, allocations: 88 kB / 473.1 MB, free: 14.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/0.3446, allocations: 2.248 MB / 475.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008955/0.3455, allocations: 399.8 kB / 475.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3455, allocations: 4 kB / 475.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.3462, allocations: 276 kB / 476.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.3467, allocations: 60.62 kB / 476.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.3534, allocations: 3.495 MB / 479.6 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.3539, allocations: 0.7763 MB / 480.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002636/0.3542, allocations: 42.94 kB / 480.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.3545, allocations: 95.59 kB / 480.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3545, allocations: 0 / 480.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.3755, allocations: 6.311 MB / 486.8 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.3758, allocations: 181 kB / 487 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.226, allocations: 4 kB / 487 MB, free: 0.5273 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat