Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 199.7 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.426/1.426, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008972/0.0008969, allocations: 95.97 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4459/0.4459, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004123, allocations: 8.219 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4219, allocations: 63.25 MB / 0.5193 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.562, allocations: 89.44 MB / 0.6066 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5623, allocations: 71.94 kB / 0.6067 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02419/0.5865, allocations: 8.847 MB / 0.6153 GB, free: 4.922 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5866, allocations: 0 / 0.6153 GB, free: 4.922 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.5866, allocations: 8 kB / 0.6153 GB, free: 4.914 MB / 426.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.001296/0.5879, allocations: 0.6781 MB / 0.616 GB, free: 4.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.588, allocations: 8.031 kB / 0.616 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.5881, allocations: 86.52 kB / 0.6161 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5883, allocations: 55.34 kB / 0.6161 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.5887, allocations: 293.3 kB / 0.6164 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.5888, allocations: 37 kB / 0.6164 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5889, allocations: 59.84 kB / 0.6165 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.5897, allocations: 422.9 kB / 0.6169 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.5898, allocations: 15.89 kB / 0.6169 GB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.5898, allocations: 19.95 kB / 0.6169 GB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.5898, allocations: 12 kB / 0.617 GB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.5904, allocations: 312.5 kB / 0.6173 GB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.5924, allocations: 1.161 MB / 0.6184 GB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.5932, allocations: 485.1 kB / 0.6189 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.5932, allocations: 12.38 kB / 0.6189 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.5933, allocations: 47.03 kB / 0.6189 GB, free: 1.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 5.21e-06/0.5933, allocations: 0 / 0.6189 GB, free: 1.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.00329/0.5966, allocations: 2.13 MB / 0.621 GB, free: 14.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.5967, allocations: 89.61 kB / 0.6211 GB, free: 14.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.5969, allocations: 222.2 kB / 0.6213 GB, free: 14.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.597, allocations: 37.7 kB / 0.6213 GB, free: 14.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.5971, allocations: 209 kB / 0.6215 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.5973, allocations: 272 kB / 0.6218 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.5974, allocations: 20 kB / 0.6218 GB, free: 13.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5975, allocations: 358.8 kB / 0.6221 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.5978, allocations: 149.9 kB / 0.6223 GB, free: 13.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.5982, allocations: 264.9 kB / 0.6225 GB, free: 13.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.5985, allocations: 204.4 kB / 0.6227 GB, free: 12.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5985, allocations: 0 / 0.6227 GB, free: 12.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008008/0.5993, allocations: 0.5668 MB / 0.6233 GB, free: 12.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5993, allocations: 6.812 kB / 0.6233 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5993, allocations: 4 kB / 0.6233 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.5994, allocations: 11.95 kB / 0.6233 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.6, allocations: 179.7 kB / 0.6235 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.6, allocations: 4 kB / 0.6235 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.6003, allocations: 32.27 kB / 0.6235 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.6003, allocations: 24 kB / 0.6235 GB, free: 12.03 MB / 442.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 () * Number of clocked 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.0002174/0.6006, allocations: 181.6 kB / 0.6237 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.6007, allocations: 47.44 kB / 0.6238 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.6008, allocations: 51.64 kB / 0.6238 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6008, allocations: 11.95 kB / 0.6238 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.6008, allocations: 8.062 kB / 0.6238 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6008, allocations: 3.984 kB / 0.6238 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.6027, allocations: 1.45 MB / 0.6252 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6028, allocations: 3.938 kB / 0.6252 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.6034, allocations: 163.8 kB / 0.6254 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.6034, allocations: 4 kB / 0.6254 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.6035, allocations: 19.95 kB / 0.6254 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.6035, allocations: 11.98 kB / 0.6254 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6035, allocations: 7.938 kB / 0.6254 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.6048, allocations: 1.034 MB / 0.6265 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.6049, allocations: 120.5 kB / 0.6266 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.605, allocations: 23.95 kB / 0.6266 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.6053, allocations: 19.98 kB / 0.6266 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.6054, allocations: 44.39 kB / 0.6267 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.6055, allocations: 23.98 kB / 0.6267 GB, free: 8.555 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.6056, allocations: 178 kB / 0.6268 GB, free: 8.383 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6056, allocations: 3.938 kB / 0.6268 GB, free: 8.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.6062, allocations: 144 kB / 0.627 GB, free: 8.238 MB / 442.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 () * Number of clocked 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.002047/0.6083, allocations: 2.439 MB / 0.6294 GB, free: 5.684 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008192/0.6091, allocations: 451.8 kB / 0.6298 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6091, allocations: 0 / 0.6298 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.6095, allocations: 234.2 kB / 0.63 GB, free: 5.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.6102, allocations: 106.7 kB / 0.6301 GB, free: 4.914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006523/0.6167, allocations: 5.104 MB / 0.6351 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.6172, allocations: 0.8604 MB / 0.6359 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.6175, allocations: 64.59 kB / 0.636 GB, free: 14.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.6177, allocations: 167.4 kB / 0.6362 GB, free: 14.56 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6177, allocations: 0 / 0.6362 GB, free: 14.56 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.6413, allocations: 9.017 MB / 0.645 GB, free: 5.773 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.6415, allocations: 189.7 kB / 0.6452 GB, free: 5.539 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.948, allocations: 0 / 0.6452 GB, free: 5.539 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat