Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.0009957/0.0009957, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009135/0.0009134, allocations: 82.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2378/0.2378, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.878e-05, allocations: 4 kB / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 58.85 MB / 477.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.5707, allocations: 86.51 MB / 0.5505 GB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.571, allocations: 77.3 kB / 0.5506 GB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01989/0.5909, allocations: 8.528 MB / 0.5589 GB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5909, allocations: 0 / 0.5589 GB, free: 1.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.591, allocations: 8 kB / 0.5589 GB, free: 1.684 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0007158/0.5917, allocations: 0.6389 MB / 0.5595 GB, free: 1.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5917, allocations: 12.03 kB / 0.5595 GB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.5918, allocations: 55.34 kB / 0.5596 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.5921, allocations: 288.2 kB / 0.5599 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.5921, allocations: 20 kB / 0.5599 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.5922, allocations: 38.83 kB / 0.5599 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004292/0.5926, allocations: 271.3 kB / 0.5602 GB, free: 448 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.5931, allocations: 362.6 kB / 0.5605 GB, free: 160 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.5931, allocations: 15.84 kB / 0.5605 GB, free: 144 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.5932, allocations: 0 / 0.5605 GB, free: 144 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5932, allocations: 15.98 kB / 0.5606 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.5946, allocations: 1.066 MB / 0.5616 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.5952, allocations: 442.6 kB / 0.562 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.5954, allocations: 184 kB / 0.5622 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.5955, allocations: 11.56 kB / 0.5622 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.5955, allocations: 38.25 kB / 0.5622 GB, free: 14.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.543e-06/0.5955, allocations: 0 / 0.5622 GB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002287/0.5978, allocations: 1.82 MB / 0.564 GB, free: 12.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.5979, allocations: 85.67 kB / 0.5641 GB, free: 12.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5981, allocations: 191 kB / 0.5643 GB, free: 12.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.5981, allocations: 29.7 kB / 0.5643 GB, free: 12.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5982, allocations: 214.8 kB / 0.5645 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.5984, allocations: 261.9 kB / 0.5648 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.5984, allocations: 0 / 0.5648 GB, free: 12.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5986, allocations: 354 kB / 0.5651 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.5988, allocations: 130.8 kB / 0.5652 GB, free: 11.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.5991, allocations: 246.6 kB / 0.5655 GB, free: 11.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.5994, allocations: 182.4 kB / 0.5656 GB, free: 11.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5994, allocations: 0 / 0.5656 GB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006575/0.6, allocations: 497.6 kB / 0.5661 GB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6001, allocations: 4 kB / 0.5661 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6001, allocations: 4 kB / 0.5661 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.6001, allocations: 8 kB / 0.5661 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.6007, allocations: 187.7 kB / 0.5663 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.6007, allocations: 15.88 kB / 0.5663 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.6009, allocations: 8 kB / 0.5663 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.601, allocations: 23.75 kB / 0.5664 GB, free: 10.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001211/0.6011, allocations: 120.6 kB / 0.5665 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005483/0.6017, allocations: 390.8 kB / 0.5668 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.6017, allocations: 47.34 kB / 0.5669 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.6019, allocations: 46.7 kB / 0.5669 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6019, allocations: 8 kB / 0.5669 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.6019, allocations: 3.984 kB / 0.5669 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6019, allocations: 4 kB / 0.5669 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.6035, allocations: 1.303 MB / 0.5682 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6035, allocations: 4 kB / 0.5682 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.6041, allocations: 159.7 kB / 0.5684 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.6041, allocations: 4 kB / 0.5684 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.6042, allocations: 15.89 kB / 0.5684 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.6042, allocations: 4.344 kB / 0.5684 GB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.6042, allocations: 15.88 kB / 0.5684 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009729/0.6052, allocations: 0.9754 MB / 0.5694 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.6053, allocations: 116.6 kB / 0.5695 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.6053, allocations: 11.2 kB / 0.5695 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.6056, allocations: 8 kB / 0.5695 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.6057, allocations: 43.81 kB / 0.5695 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.6057, allocations: 23.44 kB / 0.5696 GB, free: 7.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.6058, allocations: 155.9 kB / 0.5697 GB, free: 7.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6058, allocations: 0 / 0.5697 GB, free: 7.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004462/0.6063, allocations: 124 kB / 0.5698 GB, free: 7.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.001416/0.6077, allocations: 2.345 MB / 0.5721 GB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.6082, allocations: 395.1 kB / 0.5725 GB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6083, allocations: 0 / 0.5725 GB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.6085, allocations: 212.9 kB / 0.5727 GB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.6091, allocations: 96.78 kB / 0.5728 GB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.6116, allocations: 1.606 MB / 0.5744 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.6119, allocations: 0.8605 MB / 0.5752 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.6121, allocations: 56.58 kB / 0.5753 GB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.6123, allocations: 168.4 kB / 0.5754 GB, free: 2.293 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6123, allocations: 0 / 0.5754 GB, free: 2.293 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.641, allocations: 8.44 MB / 0.5837 GB, free: 9.879 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.6412, allocations: 155.6 kB / 0.5838 GB, free: 9.688 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.646, allocations: 4 kB / 0.5838 GB, free: 9.684 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat