Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002364/0.002364, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 82.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.899e-05, allocations: 0 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4124, allocations: 58.84 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5845, allocations: 86.51 MB / 0.5505 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.5849, allocations: 75.45 kB / 0.5505 GB, free: 12.7 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03906/0.624, allocations: 8.527 MB / 0.5589 GB, free: 4.137 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.624, allocations: 4 kB / 0.5589 GB, free: 4.133 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.529e-05/0.6241, allocations: 8 kB / 0.5589 GB, free: 4.125 MB / 395.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.001554/0.6256, allocations: 0.6396 MB / 0.5595 GB, free: 3.441 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6257, allocations: 8.031 kB / 0.5595 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.6259, allocations: 55.34 kB / 0.5596 GB, free: 3.379 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.6264, allocations: 293.3 kB / 0.5598 GB, free: 3.051 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.6265, allocations: 16 kB / 0.5599 GB, free: 3.035 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6266, allocations: 35.91 kB / 0.5599 GB, free: 3 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008302/0.6275, allocations: 274.5 kB / 0.5602 GB, free: 2.73 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.6285, allocations: 359.6 kB / 0.5605 GB, free: 2.363 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.6285, allocations: 11.86 kB / 0.5605 GB, free: 2.352 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.6286, allocations: 0 / 0.5605 GB, free: 2.352 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.6286, allocations: 12 kB / 0.5605 GB, free: 2.34 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.6316, allocations: 1.072 MB / 0.5616 GB, free: 1.227 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.6327, allocations: 440 kB / 0.562 GB, free: 0.7539 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.6333, allocations: 189.9 kB / 0.5622 GB, free: 0.5664 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.6333, allocations: 4.438 kB / 0.5622 GB, free: 0.5625 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.6334, allocations: 50.97 kB / 0.5622 GB, free: 0.5039 MB / 395.1 MB Notification: Performance of pre-optimization done (n=62): time 4.128e-06/0.6334, allocations: 0 / 0.5622 GB, free: 0.5039 MB / 395.1 MB Notification: Performance of matching and sorting (n=74): time 0.004406/0.6378, allocations: 1.819 MB / 0.564 GB, free: 14.51 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.6379, allocations: 89.66 kB / 0.5641 GB, free: 14.41 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.6383, allocations: 190.1 kB / 0.5643 GB, free: 14.21 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.6383, allocations: 25.7 kB / 0.5643 GB, free: 14.18 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.6385, allocations: 263.3 kB / 0.5645 GB, free: 13.93 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.6389, allocations: 264.1 kB / 0.5648 GB, free: 13.66 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.6389, allocations: 0 / 0.5648 GB, free: 13.66 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.6391, allocations: 342.8 kB / 0.5651 GB, free: 13.32 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.6395, allocations: 133.6 kB / 0.5653 GB, free: 13.19 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.64, allocations: 245.2 kB / 0.5655 GB, free: 12.91 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.6405, allocations: 177.4 kB / 0.5657 GB, free: 12.74 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6405, allocations: 0 / 0.5657 GB, free: 12.74 MB / 411.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001267/0.6418, allocations: 487.9 kB / 0.5661 GB, free: 12.26 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.6419, allocations: 4 kB / 0.5661 GB, free: 12.26 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.6419, allocations: 8 kB / 0.5661 GB, free: 12.25 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.6419, allocations: 8 kB / 0.5661 GB, free: 12.24 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.6432, allocations: 179.7 kB / 0.5663 GB, free: 12.07 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.6432, allocations: 7.953 kB / 0.5663 GB, free: 12.06 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.6437, allocations: 8 kB / 0.5663 GB, free: 12.05 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.6438, allocations: 32.19 kB / 0.5664 GB, free: 12.02 MB / 411.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 () * 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.0001668/0.644, allocations: 116.7 kB / 0.5665 GB, free: 11.9 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001052/0.6451, allocations: 398.7 kB / 0.5668 GB, free: 11.51 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.6452, allocations: 43.53 kB / 0.5669 GB, free: 11.46 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.6454, allocations: 47.88 kB / 0.5669 GB, free: 11.42 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6454, allocations: 8 kB / 0.5669 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6454, allocations: 0 / 0.5669 GB, free: 11.41 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.6455, allocations: 7.984 kB / 0.5669 GB, free: 11.4 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.6485, allocations: 1.302 MB / 0.5682 GB, free: 10 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6485, allocations: 4 kB / 0.5682 GB, free: 9.996 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.6499, allocations: 163.8 kB / 0.5684 GB, free: 9.836 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.887e-05/0.65, allocations: 4 kB / 0.5684 GB, free: 9.832 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.6501, allocations: 11.95 kB / 0.5684 GB, free: 9.82 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/0.6501, allocations: 11.92 kB / 0.5684 GB, free: 9.809 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.6501, allocations: 11.92 kB / 0.5684 GB, free: 9.797 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6519, allocations: 0.9738 MB / 0.5694 GB, free: 8.699 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.6522, allocations: 120.6 kB / 0.5695 GB, free: 8.562 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.303e-05/0.6523, allocations: 11.95 kB / 0.5695 GB, free: 8.551 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.6528, allocations: 4 kB / 0.5695 GB, free: 8.547 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.653, allocations: 52.31 kB / 0.5696 GB, free: 8.496 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.653, allocations: 23.98 kB / 0.5696 GB, free: 8.473 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.6533, allocations: 154 kB / 0.5697 GB, free: 8.32 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6533, allocations: 0 / 0.5697 GB, free: 8.32 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008517/0.6541, allocations: 116 kB / 0.5698 GB, free: 8.207 MB / 411.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 () * 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.002506/0.6567, allocations: 2.347 MB / 0.5721 GB, free: 5.754 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.6579, allocations: 395 kB / 0.5725 GB, free: 5.367 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.6579, allocations: 0.5625 kB / 0.5725 GB, free: 5.367 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.6584, allocations: 217.4 kB / 0.5727 GB, free: 5.156 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.6596, allocations: 80.48 kB / 0.5728 GB, free: 5.078 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.6643, allocations: 1.649 MB / 0.5744 GB, free: 3.344 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007121/0.6651, allocations: 0.8605 MB / 0.5752 GB, free: 2.461 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.6656, allocations: 167.4 kB / 0.5754 GB, free: 2.297 MB / 411.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6656, allocations: 4 kB / 0.5754 GB, free: 2.293 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.459, allocations: 7.753 MB / 0.583 GB, free: 10.55 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat