Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Backlash,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 199.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008904, allocations: 103.6 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002225, allocations: 8 kB / 358 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2039, allocations: 51.47 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09057/0.2945, allocations: 79.74 MB / 489.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.2948, allocations: 68.84 kB / 489.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02169/0.3165, allocations: 7.845 MB / 497.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3165, allocations: 0 / 497.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.3166, allocations: 8 kB / 497.1 MB, free: 2.961 MB / 362.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.001388/0.318, allocations: 0.6628 MB / 497.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.318, allocations: 8.031 kB / 497.8 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.3181, allocations: 58.55 kB / 497.9 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.575e-05/0.3182, allocations: 31.72 kB / 497.9 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.3186, allocations: 270.2 kB / 498.2 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.319, allocations: 135.9 kB / 498.3 MB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.3191, allocations: 24 kB / 498.3 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.32, allocations: 404 kB / 498.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.32, allocations: 11.91 kB / 498.7 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.32, allocations: 8 kB / 498.7 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3201, allocations: 8 kB / 498.7 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3212, allocations: 456.7 kB / 499.2 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.3225, allocations: 0.9789 MB / 0.4884 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3236, allocations: 456 kB / 0.4889 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3236, allocations: 7.984 kB / 0.4889 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3236, allocations: 38.5 kB / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/0.3237, allocations: 4.438 kB / 0.4889 GB, free: 15.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.004792/0.3285, allocations: 2.514 MB / 0.4914 GB, free: 12.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.3285, allocations: 106.8 kB / 0.4915 GB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3287, allocations: 182.3 kB / 0.4917 GB, free: 12.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3288, allocations: 29.7 kB / 0.4917 GB, free: 12.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.3289, allocations: 148.6 kB / 0.4918 GB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.329, allocations: 142 kB / 0.492 GB, free: 11.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.329, allocations: 4 kB / 0.492 GB, free: 11.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3292, allocations: 342.8 kB / 0.4923 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.3295, allocations: 112.8 kB / 0.4924 GB, free: 11.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.3298, allocations: 173.4 kB / 0.4926 GB, free: 11.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.3301, allocations: 129.5 kB / 0.4927 GB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3301, allocations: 0 / 0.4927 GB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007746/0.3309, allocations: 387.3 kB / 0.4931 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3309, allocations: 6.594 kB / 0.4931 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.331, allocations: 4 kB / 0.4931 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.331, allocations: 7.953 kB / 0.4931 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.3317, allocations: 163.8 kB / 0.4932 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3317, allocations: 7.938 kB / 0.4932 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.332, allocations: 31.98 kB / 0.4933 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.332, allocations: 15.98 kB / 0.4933 GB, free: 10.43 MB / 378.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.0001522/0.3321, allocations: 141.8 kB / 0.4934 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.3322, allocations: 27.72 kB / 0.4934 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.3323, allocations: 37.52 kB / 0.4935 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3323, allocations: 4.938 kB / 0.4935 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3323, allocations: 3.953 kB / 0.4935 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3324, allocations: 4 kB / 0.4935 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3346, allocations: 1.378 MB / 0.4948 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3346, allocations: 4.031 kB / 0.4948 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.3355, allocations: 215.9 kB / 0.4951 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.3356, allocations: 7.984 kB / 0.4951 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.3356, allocations: 8 kB / 0.4951 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.3356, allocations: 7.984 kB / 0.4951 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3356, allocations: 11.94 kB / 0.4951 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.3377, allocations: 1.14 MB / 0.4962 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3379, allocations: 124.8 kB / 0.4963 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.3379, allocations: 11.95 kB / 0.4963 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.3384, allocations: 67.94 kB / 0.4964 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3385, allocations: 39.88 kB / 0.4964 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.3386, allocations: 20 kB / 0.4965 GB, free: 6.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3387, allocations: 152.6 kB / 0.4966 GB, free: 6.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3387, allocations: 0 / 0.4966 GB, free: 6.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000525/0.3393, allocations: 83.94 kB / 0.4967 GB, free: 6.746 MB / 378.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.002602/0.3419, allocations: 2.248 MB / 0.4989 GB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3429, allocations: 399.5 kB / 0.4993 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3429, allocations: 0 / 0.4993 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.3436, allocations: 288 kB / 0.4995 GB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.3441, allocations: 48.59 kB / 0.4996 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.3511, allocations: 3.496 MB / 0.503 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1484/0.4995, allocations: 0.7769 MB / 0.5037 GB, free: 96.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.4997, allocations: 39.5 kB / 0.5038 GB, free: 96.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.5, allocations: 94.48 kB / 0.5039 GB, free: 96.58 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5, allocations: 0 / 0.5039 GB, free: 96.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.5173, allocations: 6.32 MB / 0.51 GB, free: 96.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/0.5175, allocations: 181 kB / 0.5102 GB, free: 96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.426, allocations: 0 / 0.5102 GB, free: 96 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Backlash.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat does not exist to compare? outputFormat=mat