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.001009/0.001009, allocations: 167.6 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.00109/0.00109, allocations: 95.61 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.492e-05, allocations: 7.922 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.6185, allocations: 87.64 MB / 0.5804 GB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.6188, allocations: 67.97 kB / 0.5804 GB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02321/0.642, allocations: 8.712 MB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.6421, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.6421, allocations: 16 kB / 0.5889 GB, free: 15.89 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.0008662/0.643, allocations: 0.6324 MB / 0.5896 GB, free: 15.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.643, allocations: 11.98 kB / 0.5896 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.6431, allocations: 59.28 kB / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.6435, allocations: 301.3 kB / 0.5899 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6435, allocations: 16 kB / 0.5899 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.6436, allocations: 35.84 kB / 0.59 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004549/0.644, allocations: 278.5 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.6446, allocations: 351.7 kB / 0.5906 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.6446, allocations: 14.64 kB / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.6447, allocations: 0 / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6447, allocations: 15.94 kB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.6462, allocations: 1.069 MB / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.6468, allocations: 448 kB / 0.5921 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.6471, allocations: 187 kB / 0.5922 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.6471, allocations: 8.438 kB / 0.5923 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6472, allocations: 42.95 kB / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.583e-06/0.6472, allocations: 0 / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.00247/0.6497, allocations: 1.809 MB / 0.5941 GB, free: 10.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.6497, allocations: 85.67 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.6499, allocations: 198 kB / 0.5943 GB, free: 9.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.65, allocations: 29.7 kB / 0.5944 GB, free: 9.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6501, allocations: 208.9 kB / 0.5946 GB, free: 9.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.6503, allocations: 264.1 kB / 0.5948 GB, free: 9.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.6503, allocations: 0 / 0.5948 GB, free: 9.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6505, allocations: 354.8 kB / 0.5951 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.6507, allocations: 137.5 kB / 0.5953 GB, free: 8.984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.651, allocations: 241.3 kB / 0.5955 GB, free: 8.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.6513, allocations: 180.5 kB / 0.5957 GB, free: 8.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6513, allocations: 4 kB / 0.5957 GB, free: 8.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006962/0.652, allocations: 491.5 kB / 0.5962 GB, free: 8.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.652, allocations: 9.25 kB / 0.5962 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.652, allocations: 0 / 0.5962 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.6521, allocations: 8.281 kB / 0.5962 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.6526, allocations: 183.8 kB / 0.5963 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6527, allocations: 11.94 kB / 0.5964 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.6529, allocations: 11.98 kB / 0.5964 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.653, allocations: 20 kB / 0.5964 GB, free: 7.805 MB / 410.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.0001062/0.6531, allocations: 124.8 kB / 0.5965 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005642/0.6536, allocations: 394.6 kB / 0.5969 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.6537, allocations: 43.53 kB / 0.5969 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.6538, allocations: 55.95 kB / 0.597 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6539, allocations: 8 kB / 0.597 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.6539, allocations: 0 / 0.597 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6539, allocations: 3.984 kB / 0.597 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.6556, allocations: 1.315 MB / 0.5983 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6556, allocations: 0 / 0.5983 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.6562, allocations: 163.7 kB / 0.5984 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.6562, allocations: 4 kB / 0.5984 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.6563, allocations: 16.33 kB / 0.5984 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6563, allocations: 8 kB / 0.5985 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6563, allocations: 4 kB / 0.5985 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.6573, allocations: 0.9737 MB / 0.5994 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.6574, allocations: 116.6 kB / 0.5995 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.6575, allocations: 11.98 kB / 0.5995 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.6578, allocations: 8 kB / 0.5995 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.6578, allocations: 52.27 kB / 0.5996 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.6579, allocations: 20 kB / 0.5996 GB, free: 4.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.658, allocations: 150 kB / 0.5998 GB, free: 4.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.658, allocations: 0 / 0.5998 GB, free: 4.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004754/0.6585, allocations: 124 kB / 0.5999 GB, free: 3.98 MB / 410.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.001554/0.6601, allocations: 2.354 MB / 0.6022 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.6606, allocations: 406.8 kB / 0.6026 GB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6606, allocations: 4 kB / 0.6026 GB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.6609, allocations: 209.4 kB / 0.6028 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.6615, allocations: 90.94 kB / 0.6028 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.6643, allocations: 1.6 MB / 0.6044 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.6647, allocations: 0.8605 MB / 0.6053 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.6649, allocations: 56.58 kB / 0.6053 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.6652, allocations: 171.4 kB / 0.6055 GB, free: 14.05 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6652, allocations: 0 / 0.6055 GB, free: 14.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.6937, allocations: 8.433 MB / 0.6137 GB, free: 5.691 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.694, allocations: 156.6 kB / 0.6139 GB, free: 5.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.718, allocations: 4 kB / 0.6139 GB, free: 5.496 MB / 426.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