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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 186.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2277/0.2277, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 4 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 61.93 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003326/0.1506, allocations: 2.563 MB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.152, allocations: 0.8188 MB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1522, allocations: 11.94 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.868e-05/0.1523, allocations: 43.61 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.1527, allocations: 207.4 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1529, allocations: 75.92 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.1534, allocations: 419.1 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.1537, allocations: 144.4 kB / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1539, allocations: 187.3 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1541, allocations: 203.1 kB / 476.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.1542, allocations: 31.98 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.1543, allocations: 24 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.1543, allocations: 79.69 kB / 476.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1545, allocations: 117.5 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1549, allocations: 406.8 kB / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1549, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1549, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1549, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 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.00107/0.156, allocations: 0.6781 MB / 477.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.156, allocations: 8.031 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.539e-05/0.1561, allocations: 82.53 kB / 477.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.1562, allocations: 55.42 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1567, allocations: 313.2 kB / 478 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.1567, allocations: 33 kB / 478 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.1568, allocations: 71.78 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.1576, allocations: 422.6 kB / 478.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.1576, allocations: 11.89 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.1577, allocations: 20 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1577, allocations: 12 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.1582, allocations: 308.5 kB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.16, allocations: 1.165 MB / 480 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.1608, allocations: 481.1 kB / 480.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1608, allocations: 4.438 kB / 480.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.1609, allocations: 43.03 kB / 480.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.954e-06/0.1609, allocations: 3.938 kB / 480.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.003126/0.164, allocations: 2.131 MB / 482.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1641, allocations: 85.67 kB / 482.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.1644, allocations: 246.9 kB / 483 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1644, allocations: 37.7 kB / 483 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.1646, allocations: 213 kB / 483.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1648, allocations: 268 kB / 483.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.1648, allocations: 20 kB / 483.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1651, allocations: 358.8 kB / 483.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1653, allocations: 149.9 kB / 484 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.1657, allocations: 276.7 kB / 484.2 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.166, allocations: 196.4 kB / 484.4 MB, free: 240 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.166, allocations: 0 / 484.4 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008288/0.1668, allocations: 0.563 MB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1669, allocations: 4 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1669, allocations: 4 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1669, allocations: 8 kB / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.1675, allocations: 183.7 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1675, allocations: 7.938 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1678, allocations: 32.27 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.1678, allocations: 28 kB / 485.3 MB, free: 15.4 MB / 366.1 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.0002013/0.168, allocations: 178.1 kB / 485.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.1681, allocations: 47.48 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1682, allocations: 55.64 kB / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1682, allocations: 8 kB / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.1682, allocations: 4 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1683, allocations: 3.984 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1701, allocations: 1.446 MB / 487 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1701, allocations: 0 / 487 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.1707, allocations: 159.8 kB / 487.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1708, allocations: 11.88 kB / 487.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.1708, allocations: 23.94 kB / 487.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/0.1708, allocations: 8 kB / 487.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1708, allocations: 4 kB / 487.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.172, allocations: 1.053 MB / 488.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1721, allocations: 120.5 kB / 488.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.1722, allocations: 20 kB / 488.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1724, allocations: 16 kB / 488.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.1725, allocations: 56.27 kB / 488.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.1726, allocations: 20 kB / 488.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1727, allocations: 178 kB / 488.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1727, allocations: 0 / 488.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.1732, allocations: 144 kB / 488.8 MB, free: 11.6 MB / 366.1 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.001652/0.1749, allocations: 2.435 MB / 491.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006688/0.1756, allocations: 452 kB / 491.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1756, allocations: 0 / 491.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.1759, allocations: 238.2 kB / 491.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.1766, allocations: 105.6 kB / 492 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.1819, allocations: 5.108 MB / 497.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.1824, allocations: 0.8527 MB / 498 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.1827, allocations: 60.66 kB / 498 MB, free: 2.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.1829, allocations: 175.3 kB / 498.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1829, allocations: 0 / 498.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.2043, allocations: 8.994 MB / 0.4953 GB, free: 9.176 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.2045, allocations: 199.4 kB / 0.4955 GB, free: 8.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.148, allocations: 6.031 kB / 0.4955 GB, free: 8.934 MB / 382.1 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