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.001074/0.001074, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.481/1.481, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008473/0.0008473, allocations: 90.64 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.068e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08501, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3109/0.396, allocations: 77.95 MB / 448.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3962, allocations: 68.88 kB / 448.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.4181, allocations: 7.667 MB / 455.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4181, allocations: 0 / 455.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.4182, allocations: 4 kB / 455.8 MB, free: 8.801 MB / 330.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.001434/0.4196, allocations: 0.6352 MB / 456.4 MB, free: 8.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4197, allocations: 12.03 kB / 456.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.83e-05/0.4198, allocations: 59.55 kB / 456.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.4198, allocations: 31.62 kB / 456.5 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.4202, allocations: 258.3 kB / 456.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003967/0.4206, allocations: 132.3 kB / 456.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.4207, allocations: 36.39 kB / 457 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.4213, allocations: 310.7 kB / 457.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4213, allocations: 4 kB / 457.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4214, allocations: 7.312 kB / 457.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4214, allocations: 8 kB / 457.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.4219, allocations: 271.8 kB / 457.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.4233, allocations: 0.9869 MB / 458.5 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.4238, allocations: 328.1 kB / 458.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.4241, allocations: 154.6 kB / 459 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.4241, allocations: 4 kB / 459 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4242, allocations: 38.5 kB / 459 MB, free: 5.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.4242, allocations: 0 / 459 MB, free: 5.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.00234/0.4265, allocations: 1.852 MB / 460.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.4266, allocations: 106.8 kB / 461 MB, free: 3.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4268, allocations: 182.1 kB / 461.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.4268, allocations: 29.7 kB / 461.2 MB, free: 3.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.4269, allocations: 148.6 kB / 461.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.427, allocations: 142 kB / 461.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.427, allocations: 4 kB / 461.5 MB, free: 2.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4272, allocations: 342.8 kB / 461.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.4274, allocations: 120.9 kB / 461.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.4276, allocations: 173.5 kB / 462.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.4279, allocations: 138.2 kB / 462.3 MB, free: 2.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4279, allocations: 0 / 462.3 MB, free: 2.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006071/0.4285, allocations: 361.1 kB / 462.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4285, allocations: 8 kB / 462.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4285, allocations: 0 / 462.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4285, allocations: 7.953 kB / 462.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.4293, allocations: 171.9 kB / 462.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4293, allocations: 3.938 kB / 462.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4295, allocations: 35.97 kB / 462.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.4295, allocations: 16 kB / 462.8 MB, free: 1.535 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 () * 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.0001013/0.4296, allocations: 120.9 kB / 463 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.4297, allocations: 23.72 kB / 463 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.4298, allocations: 41.62 kB / 463 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4298, allocations: 4 kB / 463 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4299, allocations: 3.953 kB / 463 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4299, allocations: 0 / 463 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.4314, allocations: 1.213 MB / 464.2 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4314, allocations: 4 kB / 464.2 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/0.4323, allocations: 204 kB / 464.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.832e-05/0.4323, allocations: 4 kB / 464.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.4324, allocations: 15.98 kB / 464.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4324, allocations: 7.938 kB / 464.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4324, allocations: 4 kB / 464.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.4333, allocations: 0.8305 MB / 465.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4335, allocations: 124.8 kB / 465.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.4335, allocations: 11.95 kB / 465.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.434, allocations: 67.94 kB / 465.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4341, allocations: 35.95 kB / 465.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.4341, allocations: 15.98 kB / 465.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4342, allocations: 151.2 kB / 465.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4342, allocations: 0 / 465.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.4346, allocations: 80 kB / 465.8 MB, free: 14.38 MB / 346.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.001456/0.4361, allocations: 1.931 MB / 467.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.4366, allocations: 251.9 kB / 468 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4366, allocations: 4 kB / 468 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.4369, allocations: 172.1 kB / 468.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.4374, allocations: 65.47 kB / 468.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.4421, allocations: 1.429 MB / 469.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4424, allocations: 0.7763 MB / 470.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.4426, allocations: 34.97 kB / 470.4 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.4428, allocations: 103.4 kB / 470.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4428, allocations: 0 / 470.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.4614, allocations: 6.311 MB / 476.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.4616, allocations: 149.4 kB / 477 MB, free: 2.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.269, allocations: 0 / 477 MB, free: 2.922 MB / 346.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