Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008523/0.0008524, allocations: 76.14 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.469e-05, allocations: 8.156 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5885, allocations: 90.68 MB / 0.5904 GB, free: 14.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.5888, allocations: 67.95 kB / 0.5904 GB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.6065, allocations: 6.226 MB / 0.5965 GB, free: 8.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6065, allocations: 0 / 0.5965 GB, free: 8.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.6065, allocations: 4 kB / 0.5965 GB, free: 8.168 MB / 410.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.0006197/0.6072, allocations: 486.4 kB / 0.597 GB, free: 7.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6072, allocations: 8.031 kB / 0.597 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.6074, allocations: 94.94 kB / 0.5971 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/0.6081, allocations: 63.67 kB / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.6083, allocations: 190.7 kB / 0.5973 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6083, allocations: 24.78 kB / 0.5973 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.6084, allocations: 35.95 kB / 0.5974 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.6088, allocations: 223.7 kB / 0.5976 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6088, allocations: 0 / 0.5976 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.6089, allocations: 12 kB / 0.5976 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.6089, allocations: 12 kB / 0.5976 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.6091, allocations: 143.1 kB / 0.5977 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.6102, allocations: 0.6639 MB / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.6108, allocations: 211.5 kB / 0.5986 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.6109, allocations: 57.33 kB / 0.5986 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.6109, allocations: 4.234 kB / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.611, allocations: 46.73 kB / 0.5987 GB, free: 5.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.342e-06/0.611, allocations: 0 / 0.5987 GB, free: 5.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.000303/0.6113, allocations: 149.1 kB / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6113, allocations: 55.41 kB / 0.5989 GB, free: 5.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.851e-05/0.6114, allocations: 96.98 kB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.6114, allocations: 29.7 kB / 0.599 GB, free: 5.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.6115, allocations: 147.3 kB / 0.5991 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.6116, allocations: 90.66 kB / 0.5992 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.6116, allocations: 0 / 0.5992 GB, free: 5.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6118, allocations: 334.8 kB / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.6118, allocations: 32 kB / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.6119, allocations: 40.22 kB / 0.5996 GB, free: 4.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.612, allocations: 47.95 kB / 0.5997 GB, free: 4.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.612, allocations: 3.938 kB / 0.5997 GB, free: 4.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002359/0.6123, allocations: 157.9 kB / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6123, allocations: 4 kB / 0.5998 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.6123, allocations: 0 / 0.5998 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6123, allocations: 4 kB / 0.5998 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.6127, allocations: 107.9 kB / 0.5999 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.6127, allocations: 0 / 0.5999 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.6128, allocations: 11.84 kB / 0.5999 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6128, allocations: 8 kB / 0.5999 GB, free: 4.414 MB / 410.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 () * 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 7.865e-05/0.6129, allocations: 116.9 kB / 0.6001 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.6129, allocations: 11.91 kB / 0.6001 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.613, allocations: 25.12 kB / 0.6001 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.613, allocations: 3.984 kB / 0.6001 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.613, allocations: 4 kB / 0.6001 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.613, allocations: 0 / 0.6001 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.6134, allocations: 285.3 kB / 0.6004 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6134, allocations: 3.984 kB / 0.6004 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.6137, allocations: 103.9 kB / 0.6005 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6138, allocations: 0 / 0.6005 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.6138, allocations: 4 kB / 0.6005 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6138, allocations: 3.828 kB / 0.6005 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6138, allocations: 0 / 0.6005 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.6141, allocations: 267.5 kB / 0.6007 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.6141, allocations: 96.84 kB / 0.6008 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.6142, allocations: 4 kB / 0.6008 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.6143, allocations: 12.25 kB / 0.6008 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.6143, allocations: 11.98 kB / 0.6009 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.6143, allocations: 15.98 kB / 0.6009 GB, free: 3.375 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.6144, allocations: 79.28 kB / 0.601 GB, free: 3.297 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6144, allocations: 0 / 0.601 GB, free: 3.297 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.6147, allocations: 59.69 kB / 0.601 GB, free: 3.238 MB / 410.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 () * 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.0006366/0.6153, allocations: 0.8533 MB / 0.6018 GB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6155, allocations: 119.9 kB / 0.602 GB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6155, allocations: 0 / 0.602 GB, free: 2.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.6156, allocations: 75.86 kB / 0.602 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.6158, allocations: 8.938 kB / 0.602 GB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.6164, allocations: 332.4 kB / 0.6024 GB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.6167, allocations: 0.7441 MB / 0.6031 GB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.6168, allocations: 21.19 kB / 0.6031 GB, free: 1.004 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.6169, allocations: 71.34 kB / 0.6032 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6169, allocations: 0 / 0.6032 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.6305, allocations: 2.328 MB / 0.6054 GB, free: 14.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6308, allocations: 144.3 kB / 0.6056 GB, free: 14.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.276, allocations: 3.938 kB / 0.6056 GB, free: 14.48 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat