Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001869, allocations: 180.4 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008941, allocations: 99.78 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.596e-05/4.599e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1725, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4856/0.6581, allocations: 88.31 MB / 0.588 GB, free: 0.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.6584, allocations: 63.97 kB / 0.5881 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02315/0.6816, allocations: 8.796 MB / 0.5967 GB, free: 8.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6816, allocations: 0 / 0.5967 GB, free: 8.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.6817, allocations: 8 kB / 0.5967 GB, free: 8.031 MB / 410.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.0009441/0.6826, allocations: 0.6348 MB / 0.5973 GB, free: 7.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6827, allocations: 8.031 kB / 0.5973 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.948e-05/0.6828, allocations: 90.52 kB / 0.5974 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.6828, allocations: 55.34 kB / 0.5975 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.6832, allocations: 293.3 kB / 0.5977 GB, free: 6.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.6832, allocations: 37 kB / 0.5978 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.6833, allocations: 55.91 kB / 0.5978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.684, allocations: 418.3 kB / 0.5982 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.684, allocations: 7.906 kB / 0.5982 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.6841, allocations: 24 kB / 0.5983 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.6841, allocations: 14.95 kB / 0.5983 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.6846, allocations: 307.6 kB / 0.5986 GB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.6862, allocations: 1.152 MB / 0.5997 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.6869, allocations: 485.1 kB / 0.6002 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.6872, allocations: 203 kB / 0.6003 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.6872, allocations: 8.469 kB / 0.6004 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.6873, allocations: 39 kB / 0.6004 GB, free: 4.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.853e-06/0.6873, allocations: 0 / 0.6004 GB, free: 4.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002732/0.69, allocations: 1.986 MB / 0.6023 GB, free: 1.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.6901, allocations: 89.61 kB / 0.6024 GB, free: 1.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.6903, allocations: 219.4 kB / 0.6026 GB, free: 1.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.6903, allocations: 45.69 kB / 0.6027 GB, free: 1.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.6905, allocations: 201 kB / 0.6029 GB, free: 1.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.6906, allocations: 276 kB / 0.6031 GB, free: 1.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.6907, allocations: 16 kB / 0.6031 GB, free: 1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6908, allocations: 354.8 kB / 0.6035 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.6911, allocations: 149.6 kB / 0.6036 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.6914, allocations: 266.8 kB / 0.6039 GB, free: 204 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.6917, allocations: 190.1 kB / 0.6041 GB, free: 12 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6917, allocations: 4 kB / 0.6041 GB, free: 8 kB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000744/0.6924, allocations: 0.5502 MB / 0.6046 GB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6925, allocations: 8 kB / 0.6046 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6925, allocations: 0 / 0.6046 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.6925, allocations: 8 kB / 0.6046 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.6931, allocations: 180 kB / 0.6048 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6931, allocations: 12 kB / 0.6048 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.6933, allocations: 27.92 kB / 0.6048 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.6934, allocations: 31.95 kB / 0.6049 GB, free: 15.19 MB / 426.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.0001169/0.6935, allocations: 144.8 kB / 0.605 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.6936, allocations: 47.44 kB / 0.605 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.6937, allocations: 51.64 kB / 0.6051 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6937, allocations: 8 kB / 0.6051 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6937, allocations: 4 kB / 0.6051 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6938, allocations: 7.984 kB / 0.6051 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.6956, allocations: 1.435 MB / 0.6065 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.6956, allocations: 7.984 kB / 0.6065 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/0.6962, allocations: 159.8 kB / 0.6067 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.6962, allocations: 8 kB / 0.6067 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.6962, allocations: 16 kB / 0.6067 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.6963, allocations: 8 kB / 0.6067 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6963, allocations: 8.344 kB / 0.6067 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.6973, allocations: 1.037 MB / 0.6077 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6975, allocations: 116.6 kB / 0.6078 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.6975, allocations: 16 kB / 0.6078 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.6978, allocations: 24 kB / 0.6079 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.6979, allocations: 52.27 kB / 0.6079 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.6979, allocations: 20 kB / 0.6079 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.6981, allocations: 179.1 kB / 0.6081 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6981, allocations: 0 / 0.6081 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.6985, allocations: 147.9 kB / 0.6082 GB, free: 11.45 MB / 426.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.001567/0.7001, allocations: 2.425 MB / 0.6106 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.7007, allocations: 449.3 kB / 0.611 GB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7007, allocations: 0 / 0.611 GB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.701, allocations: 227.8 kB / 0.6113 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.7017, allocations: 110.2 kB / 0.6114 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.7043, allocations: 1.677 MB / 0.613 GB, free: 6.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.7047, allocations: 0.8565 MB / 0.6138 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.7049, allocations: 60.66 kB / 0.6139 GB, free: 5.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.7051, allocations: 168.8 kB / 0.6141 GB, free: 5.297 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.7052, allocations: 0 / 0.6141 GB, free: 5.297 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.7269, allocations: 9.063 MB / 0.6229 GB, free: 12.42 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.7272, allocations: 173.7 kB / 0.6231 GB, free: 12.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.994, allocations: 4 kB / 0.6231 GB, free: 12.19 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat