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.001954/0.001954, allocations: 180.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001045/0.001045, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2512/0.2512, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003878, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5627/0.7104, allocations: 87.26 MB / 0.5641 GB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.7107, allocations: 67.03 kB / 0.5641 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0236/0.7344, allocations: 8.602 MB / 0.5725 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.7345, allocations: 4 kB / 0.5725 GB, free: 5.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.7345, allocations: 8 kB / 0.5725 GB, free: 5.25 MB / 378.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.001147/0.7356, allocations: 0.661 MB / 0.5732 GB, free: 4.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.7357, allocations: 12.03 kB / 0.5732 GB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.7358, allocations: 87.64 kB / 0.5733 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.7359, allocations: 55.34 kB / 0.5733 GB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.7364, allocations: 293.2 kB / 0.5736 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.7364, allocations: 37.25 kB / 0.5737 GB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.7365, allocations: 56.95 kB / 0.5737 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.7372, allocations: 424.1 kB / 0.5741 GB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.7373, allocations: 11.89 kB / 0.5741 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.7373, allocations: 31.19 kB / 0.5741 GB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.7374, allocations: 12 kB / 0.5742 GB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.7379, allocations: 312.8 kB / 0.5745 GB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.7396, allocations: 1.157 MB / 0.5756 GB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.7404, allocations: 495 kB / 0.5761 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.7404, allocations: 8.438 kB / 0.5761 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7405, allocations: 38.94 kB / 0.5761 GB, free: 2.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.195e-06/0.7405, allocations: 0 / 0.5761 GB, free: 2.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.003176/0.7437, allocations: 2.128 MB / 0.5782 GB, free: 244 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.7438, allocations: 93.61 kB / 0.5783 GB, free: 132 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.7441, allocations: 225 kB / 0.5785 GB, free: 15.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.7441, allocations: 40.2 kB / 0.5785 GB, free: 15.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.7443, allocations: 205 kB / 0.5787 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.7446, allocations: 270 kB / 0.579 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.7446, allocations: 17.5 kB / 0.579 GB, free: 15.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/0.7449, allocations: 356.8 kB / 0.5793 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.7451, allocations: 152.4 kB / 0.5795 GB, free: 15.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.7455, allocations: 277.8 kB / 0.5797 GB, free: 14.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.7458, allocations: 201 kB / 0.5799 GB, free: 14.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7458, allocations: 0 / 0.5799 GB, free: 14.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008066/0.7466, allocations: 0.5622 MB / 0.5805 GB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.7467, allocations: 4.281 kB / 0.5805 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7467, allocations: 8 kB / 0.5805 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.7467, allocations: 11.95 kB / 0.5805 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.7473, allocations: 175.1 kB / 0.5807 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.7473, allocations: 7.984 kB / 0.5807 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.7476, allocations: 25.81 kB / 0.5807 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.7476, allocations: 27 kB / 0.5807 GB, free: 14.07 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 () * 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.0002282/0.7478, allocations: 175.4 kB / 0.5809 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.7479, allocations: 63.25 kB / 0.581 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.7481, allocations: 53.58 kB / 0.581 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.7481, allocations: 11.95 kB / 0.581 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.7481, allocations: 4 kB / 0.581 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.7481, allocations: 3.984 kB / 0.581 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.7501, allocations: 1.44 MB / 0.5824 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7501, allocations: 0 / 0.5824 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.7508, allocations: 163 kB / 0.5826 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7508, allocations: 4.344 kB / 0.5826 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.7508, allocations: 25.95 kB / 0.5826 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.7508, allocations: 8 kB / 0.5826 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.7508, allocations: 7.938 kB / 0.5826 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.752, allocations: 1.036 MB / 0.5837 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.7522, allocations: 124 kB / 0.5838 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.7522, allocations: 26.25 kB / 0.5838 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.7525, allocations: 14.69 kB / 0.5838 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.7526, allocations: 43 kB / 0.5838 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.7526, allocations: 21.88 kB / 0.5839 GB, free: 11.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.7528, allocations: 179.7 kB / 0.584 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7528, allocations: 4 kB / 0.584 GB, free: 11.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005241/0.7533, allocations: 150.1 kB / 0.5842 GB, free: 10.93 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 () * 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.001968/0.7553, allocations: 2.44 MB / 0.5866 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006583/0.756, allocations: 441.1 kB / 0.587 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.756, allocations: 0 / 0.587 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.7563, allocations: 233.7 kB / 0.5872 GB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.757, allocations: 106.9 kB / 0.5873 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.763, allocations: 5.115 MB / 0.5923 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.7636, allocations: 0.8605 MB / 0.5932 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.7638, allocations: 64.64 kB / 0.5932 GB, free: 2.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.7641, allocations: 160.7 kB / 0.5934 GB, free: 2.188 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7641, allocations: 4 kB / 0.5934 GB, free: 2.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.7891, allocations: 9.016 MB / 0.6022 GB, free: 9.219 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.7893, allocations: 193.1 kB / 0.6024 GB, free: 8.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.058, allocations: 4.062 kB / 0.6024 GB, free: 8.977 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