Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",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.0009882/0.0009883, allocations: 183.7 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.37/1.37, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001037/0.001037, allocations: 98.86 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.215/0.215, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.000344, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.5102, allocations: 89.16 MB / 0.5659 GB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5106, allocations: 68.3 kB / 0.566 GB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.5273, allocations: 6.097 MB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5274, allocations: 0 / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.5274, allocations: 4 kB / 0.5719 GB, free: 5.258 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006958/0.5281, allocations: 493.7 kB / 0.5724 GB, free: 4.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5282, allocations: 12.03 kB / 0.5724 GB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.5283, allocations: 88.53 kB / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007935/0.5291, allocations: 75.52 kB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.5293, allocations: 190.3 kB / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.5293, allocations: 24.03 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.5294, allocations: 29.94 kB / 0.5728 GB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.5298, allocations: 224.1 kB / 0.573 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5298, allocations: 7.938 kB / 0.573 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.5299, allocations: 9.688 kB / 0.573 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5299, allocations: 8 kB / 0.573 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.5302, allocations: 168.5 kB / 0.5732 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009969/0.5312, allocations: 0.6553 MB / 0.5738 GB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.5318, allocations: 236.1 kB / 0.5741 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.5318, allocations: 240 / 0.5741 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5318, allocations: 38.73 kB / 0.5741 GB, free: 3.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.303e-06/0.5318, allocations: 0 / 0.5741 GB, free: 3.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004507/0.5323, allocations: 226.4 kB / 0.5743 GB, free: 2.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.5323, allocations: 55.41 kB / 0.5744 GB, free: 2.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.5324, allocations: 95.92 kB / 0.5745 GB, free: 2.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5325, allocations: 33.08 kB / 0.5745 GB, free: 2.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.5325, allocations: 146.3 kB / 0.5746 GB, free: 2.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.5326, allocations: 89.22 kB / 0.5747 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.5326, allocations: 3.312 kB / 0.5747 GB, free: 2.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5328, allocations: 324.9 kB / 0.575 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.5329, allocations: 45.22 kB / 0.5751 GB, free: 2.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.533, allocations: 45.73 kB / 0.5751 GB, free: 2.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.5331, allocations: 56.69 kB / 0.5752 GB, free: 2.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5331, allocations: 0 / 0.5752 GB, free: 2.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002621/0.5334, allocations: 169.9 kB / 0.5753 GB, free: 2.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5334, allocations: 10.97 kB / 0.5754 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5334, allocations: 0 / 0.5754 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5334, allocations: 4 kB / 0.5754 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5338, allocations: 99.88 kB / 0.5755 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5338, allocations: 3.953 kB / 0.5755 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.5339, allocations: 19.22 kB / 0.5755 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.5339, allocations: 11.38 kB / 0.5755 GB, free: 1.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001202/0.534, allocations: 131.7 kB / 0.5756 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.5341, allocations: 7.906 kB / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.5342, allocations: 22.44 kB / 0.5756 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5342, allocations: 4 kB / 0.5756 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5342, allocations: 3.984 kB / 0.5756 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5342, allocations: 3.953 kB / 0.5757 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.5345, allocations: 285.5 kB / 0.5759 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5345, allocations: 0 / 0.5759 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.5349, allocations: 103.7 kB / 0.576 GB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5349, allocations: 4 kB / 0.576 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.5349, allocations: 7.688 kB / 0.576 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.5349, allocations: 0 / 0.576 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5349, allocations: 3.938 kB / 0.576 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.5353, allocations: 280.6 kB / 0.5763 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.5353, allocations: 88.95 kB / 0.5764 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5354, allocations: 7.438 kB / 0.5764 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.5355, allocations: 11.05 kB / 0.5764 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.5355, allocations: 11.98 kB / 0.5764 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5355, allocations: 6.438 kB / 0.5764 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.5356, allocations: 90.33 kB / 0.5765 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5356, allocations: 0 / 0.5765 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.5359, allocations: 54.94 kB / 0.5766 GB, free: 0.7969 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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.0008135/0.5367, allocations: 0.8803 MB / 0.5774 GB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.537, allocations: 135.5 kB / 0.5776 GB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.537, allocations: 0 / 0.5776 GB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.5371, allocations: 80.28 kB / 0.5776 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.5373, allocations: 10.06 kB / 0.5776 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.5389, allocations: 1.117 MB / 0.5787 GB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5392, allocations: 0.7519 MB / 0.5795 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.5393, allocations: 21.34 kB / 0.5795 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.5394, allocations: 67.42 kB / 0.5795 GB, free: 13.88 MB / 394.7 MB Notification: Performance of SimCode: time 2.214e-06/0.5395, allocations: 0 / 0.5795 GB, free: 13.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.5545, allocations: 2.346 MB / 0.5818 GB, free: 11.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.5547, allocations: 168.5 kB / 0.582 GB, free: 11.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.068, allocations: 0 / 0.582 GB, free: 11.33 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat