Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 82.61 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4822/0.4822, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.523e-05, allocations: 4 kB / 425.4 MB, free: 8.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 58.85 MB / 484.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.63, allocations: 87.16 MB / 0.558 GB, free: 16.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.6302, allocations: 66.81 kB / 0.5581 GB, free: 16.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02222/0.6525, allocations: 8.603 MB / 0.5665 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6525, allocations: 0 / 0.5665 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.6525, allocations: 8 kB / 0.5665 GB, free: 11.24 MB / 394.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.0008165/0.6534, allocations: 0.6492 MB / 0.5671 GB, free: 10.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.6534, allocations: 8.031 kB / 0.5671 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.213e-05/0.6535, allocations: 88.95 kB / 0.5672 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.6536, allocations: 55.34 kB / 0.5673 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.6539, allocations: 288.5 kB / 0.5675 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.6539, allocations: 41.73 kB / 0.5676 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.654, allocations: 55.16 kB / 0.5676 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.6546, allocations: 424.4 kB / 0.568 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.6546, allocations: 7.906 kB / 0.5681 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.6546, allocations: 23.33 kB / 0.5681 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.6546, allocations: 12 kB / 0.5681 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.6551, allocations: 301.8 kB / 0.5684 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.6564, allocations: 1.164 MB / 0.5695 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.6571, allocations: 475.4 kB / 0.57 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.6573, allocations: 198.5 kB / 0.5702 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.6573, allocations: 12.42 kB / 0.5702 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.6574, allocations: 42.52 kB / 0.5702 GB, free: 8.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.823e-06/0.6574, allocations: 3.938 kB / 0.5702 GB, free: 8.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.002262/0.6596, allocations: 1.987 MB / 0.5722 GB, free: 6.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6597, allocations: 85.67 kB / 0.5722 GB, free: 6.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.6599, allocations: 224.2 kB / 0.5724 GB, free: 5.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.6599, allocations: 39.14 kB / 0.5725 GB, free: 5.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.66, allocations: 207.8 kB / 0.5727 GB, free: 5.703 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6602, allocations: 269.7 kB / 0.5729 GB, free: 5.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.6602, allocations: 20.5 kB / 0.573 GB, free: 5.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6603, allocations: 362.6 kB / 0.5733 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.6606, allocations: 149.9 kB / 0.5734 GB, free: 5.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.6609, allocations: 255.1 kB / 0.5737 GB, free: 4.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.6611, allocations: 198.9 kB / 0.5739 GB, free: 4.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6611, allocations: 4 kB / 0.5739 GB, free: 4.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007212/0.6619, allocations: 0.5487 MB / 0.5744 GB, free: 4.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.6619, allocations: 8.625 kB / 0.5744 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6619, allocations: 7.953 kB / 0.5744 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.662, allocations: 7.938 kB / 0.5744 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.6625, allocations: 178.6 kB / 0.5746 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.6625, allocations: 11.94 kB / 0.5746 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.6628, allocations: 23.22 kB / 0.5746 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.6629, allocations: 30.86 kB / 0.5747 GB, free: 4.004 MB / 394.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.0001273/0.663, allocations: 138.5 kB / 0.5748 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.6631, allocations: 47.44 kB / 0.5749 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.6632, allocations: 60.58 kB / 0.5749 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6632, allocations: 7.953 kB / 0.5749 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.6633, allocations: 4 kB / 0.5749 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6633, allocations: 7.922 kB / 0.5749 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.665, allocations: 1.428 MB / 0.5763 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.665, allocations: 4 kB / 0.5763 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.6656, allocations: 159.1 kB / 0.5765 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.6657, allocations: 11.95 kB / 0.5765 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.6657, allocations: 18.69 kB / 0.5765 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.6657, allocations: 8 kB / 0.5765 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6657, allocations: 7.938 kB / 0.5765 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6667, allocations: 1.033 MB / 0.5775 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.6668, allocations: 120.1 kB / 0.5776 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.6669, allocations: 23.19 kB / 0.5777 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.6672, allocations: 18.69 kB / 0.5777 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.6672, allocations: 51.5 kB / 0.5777 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.6673, allocations: 19.69 kB / 0.5778 GB, free: 1.152 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.6674, allocations: 175.8 kB / 0.5779 GB, free: 1.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6674, allocations: 0 / 0.5779 GB, free: 1.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00047/0.6679, allocations: 145.2 kB / 0.5781 GB, free: 0.8906 MB / 394.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.001708/0.6696, allocations: 2.432 MB / 0.5804 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007649/0.6704, allocations: 436.2 kB / 0.5809 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6704, allocations: 0 / 0.5809 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.6707, allocations: 231.4 kB / 0.5811 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.6714, allocations: 108.9 kB / 0.5812 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.6743, allocations: 1.678 MB / 0.5828 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.6748, allocations: 0.8644 MB / 0.5837 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.675, allocations: 56.66 kB / 0.5837 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.6752, allocations: 167.7 kB / 0.5839 GB, free: 11.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6753, allocations: 0 / 0.5839 GB, free: 11.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.7013, allocations: 9.071 MB / 0.5927 GB, free: 2.367 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.7016, allocations: 168.1 kB / 0.5929 GB, free: 2.145 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.831, allocations: 7.594 kB / 0.5929 GB, free: 2.141 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat