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.0008243/0.0008245, allocations: 94.58 kB / 17 MB, free: 6.418 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.0009811/0.0009812, allocations: 188.8 kB / 17.89 MB, free: 5.945 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.379/1.379, allocations: 223.2 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00316/0.1389, allocations: 2.785 MB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1402, allocations: 0.7796 MB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1403, allocations: 11.94 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.1405, allocations: 51.55 kB / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.1408, allocations: 146.8 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.141, allocations: 83.91 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.1415, allocations: 0.5442 MB / 476 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.1418, allocations: 144.4 kB / 476.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.142, allocations: 183.2 kB / 476.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.1423, allocations: 215.1 kB / 476.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.1424, allocations: 24 kB / 476.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.1424, allocations: 24 kB / 476.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.1425, allocations: 79.67 kB / 476.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1426, allocations: 117.5 kB / 476.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.143, allocations: 406.8 kB / 477.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.143, allocations: 3.938 kB / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.143, allocations: 0 / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1431, allocations: 0 / 477.2 MB, free: 8.035 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.000975/0.144, allocations: 0.6781 MB / 477.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1441, allocations: 8.031 kB / 477.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.268e-05/0.1442, allocations: 90.52 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.1443, allocations: 51.44 kB / 478 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1447, allocations: 309.2 kB / 478.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1447, allocations: 41 kB / 478.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.1448, allocations: 55.86 kB / 478.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.1454, allocations: 430.5 kB / 478.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.1455, allocations: 11.91 kB / 478.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.1455, allocations: 16 kB / 478.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1455, allocations: 12 kB / 478.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004947/0.146, allocations: 320.4 kB / 479.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.1476, allocations: 1.157 MB / 480.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.1483, allocations: 485.1 kB / 480.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1486, allocations: 207 kB / 481 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1486, allocations: 12.44 kB / 481 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1487, allocations: 42.98 kB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.603e-06/0.1487, allocations: 0 / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002746/0.1514, allocations: 2.113 MB / 483.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.1515, allocations: 85.67 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.1518, allocations: 254.9 kB / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1518, allocations: 41.7 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.152, allocations: 212.9 kB / 483.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.1522, allocations: 272 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.1522, allocations: 16 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1523, allocations: 350.8 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.1526, allocations: 157.9 kB / 484.6 MB, free: 244 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.1529, allocations: 276.8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1532, allocations: 191.4 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1532, allocations: 4 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007906/0.154, allocations: 0.5668 MB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1541, allocations: 11.94 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1541, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1541, allocations: 8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.1547, allocations: 180 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.1547, allocations: 12 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1549, allocations: 24.06 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.1549, allocations: 28 kB / 485.8 MB, free: 14.91 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.0001945/0.1551, allocations: 178.1 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.1552, allocations: 51.47 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1554, allocations: 55.66 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.1554, allocations: 16.02 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1554, allocations: 7.938 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1554, allocations: 3.984 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.1572, allocations: 1.442 MB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.1573, allocations: 4 kB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.1578, allocations: 155.8 kB / 487.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.1579, allocations: 8 kB / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.1579, allocations: 23.94 kB / 487.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1579, allocations: 4 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1579, allocations: 4 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.1589, allocations: 0.9082 MB / 488.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.159, allocations: 120.5 kB / 488.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.1591, allocations: 16 kB / 488.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.1594, allocations: 23.98 kB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.1594, allocations: 52.27 kB / 488.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.1595, allocations: 20 kB / 488.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1596, allocations: 174 kB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1596, allocations: 4 kB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.1601, allocations: 140 kB / 489.2 MB, free: 11.32 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.001413/0.1616, allocations: 1.472 MB / 490.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.1623, allocations: 452 kB / 491.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1623, allocations: 3.938 kB / 491.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.1626, allocations: 234.2 kB / 491.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008071/0.1635, allocations: 122.4 kB / 491.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.168, allocations: 3.469 MB / 495 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.1687, allocations: 0.841 MB / 495.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.1689, allocations: 60.66 kB / 495.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.1692, allocations: 171.4 kB / 496 MB, free: 4.324 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1692, allocations: 0 / 496 MB, free: 4.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1906, allocations: 9.04 MB / 0.4932 GB, free: 11.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.1909, allocations: 203.9 kB / 0.4934 GB, free: 11.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.237, allocations: 4.062 kB / 0.4934 GB, free: 11.29 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