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.001316/0.001316, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009296/0.00093, allocations: 94.3 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.668e-05, allocations: 4 kB / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4967, allocations: 79.67 MB / 481.8 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.4969, allocations: 64.53 kB / 481.9 MB, free: 9.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.5168, allocations: 7.841 MB / 489.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5169, allocations: 0 / 489.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.5169, allocations: 4 kB / 489.7 MB, free: 3.227 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.001113/0.518, allocations: 0.6313 MB / 490.3 MB, free: 2.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5181, allocations: 10.09 kB / 490.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.5181, allocations: 62.11 kB / 490.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.5182, allocations: 35.62 kB / 490.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.5185, allocations: 248.9 kB / 490.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/0.5188, allocations: 138.3 kB / 490.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.5189, allocations: 35.39 kB / 490.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.5194, allocations: 315.4 kB / 491.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5194, allocations: 4 kB / 491.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.5194, allocations: 8.312 kB / 491.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5194, allocations: 8 kB / 491.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.5198, allocations: 273.2 kB / 491.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.5209, allocations: 0.9754 MB / 492.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.5213, allocations: 317.2 kB / 492.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.5215, allocations: 154.6 kB / 492.9 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.5216, allocations: 8 kB / 492.9 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.5216, allocations: 38.56 kB / 492.9 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.5216, allocations: 0 / 492.9 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.002229/0.5238, allocations: 1.852 MB / 494.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.5239, allocations: 107.5 kB / 494.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.5241, allocations: 178.1 kB / 495.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.5241, allocations: 33.7 kB / 495.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.5242, allocations: 152.6 kB / 495.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5243, allocations: 141.9 kB / 495.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.5244, allocations: 4 kB / 495.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5245, allocations: 338.8 kB / 495.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.5247, allocations: 122.5 kB / 495.8 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.525, allocations: 173.5 kB / 496 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.5252, allocations: 124.7 kB / 496.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5252, allocations: 0 / 496.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005908/0.5258, allocations: 374.6 kB / 496.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5258, allocations: 4 kB / 496.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5259, allocations: 4 kB / 496.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.5259, allocations: 7.875 kB / 496.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.5266, allocations: 171.8 kB / 496.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5266, allocations: 6.578 kB / 496.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.5269, allocations: 35.97 kB / 496.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.5269, allocations: 8 kB / 496.7 MB, free: 12.1 MB / 362.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 () * 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.000118/0.527, allocations: 124.9 kB / 496.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5271, allocations: 27.66 kB / 496.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.516e-05/0.5272, allocations: 33.64 kB / 496.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5272, allocations: 7.953 kB / 496.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5272, allocations: 5.375 kB / 496.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5272, allocations: 9.016 kB / 496.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.5288, allocations: 1.192 MB / 498.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5288, allocations: 4 kB / 498.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.5297, allocations: 208 kB / 498.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5297, allocations: 4 kB / 498.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.5298, allocations: 17.58 kB / 498.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.5298, allocations: 4 kB / 498.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5298, allocations: 7.891 kB / 498.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.5307, allocations: 0.8336 MB / 499.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.5308, allocations: 128.8 kB / 499.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.5309, allocations: 8 kB / 499.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.5313, allocations: 67.94 kB / 499.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5314, allocations: 43.89 kB / 499.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.5315, allocations: 15.98 kB / 499.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.5316, allocations: 152.6 kB / 499.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5316, allocations: 0 / 499.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003985/0.532, allocations: 80 kB / 499.7 MB, free: 8.957 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 () * 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.001453/0.5334, allocations: 1.928 MB / 0.4898 GB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.5339, allocations: 261 kB / 0.4901 GB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5339, allocations: 0 / 0.4901 GB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.5342, allocations: 173 kB / 0.4903 GB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.5348, allocations: 61.48 kB / 0.4903 GB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.5396, allocations: 1.434 MB / 0.4917 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.54, allocations: 0.7763 MB / 0.4925 GB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000187/0.5402, allocations: 38.95 kB / 0.4925 GB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.5404, allocations: 95.39 kB / 0.4926 GB, free: 4.055 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.5404, allocations: 4 kB / 0.4926 GB, free: 4.051 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.5583, allocations: 6.297 MB / 0.4988 GB, free: 13.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.5587, allocations: 148.7 kB / 0.4989 GB, free: 13.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.535, allocations: 4 kB / 0.4989 GB, free: 13.75 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