Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002281/0.00228, allocations: 177.8 kB / 8.36 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.08/2.08, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001155/0.001155, allocations: 85.64 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.3002/0.3002, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.046e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4094, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5794, allocations: 88.42 MB / 0.5523 GB, free: 10.77 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5797, allocations: 55.98 kB / 0.5524 GB, free: 10.71 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02675/0.6065, allocations: 6.049 MB / 0.5583 GB, free: 4.559 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6066, allocations: 4 kB / 0.5583 GB, free: 4.555 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.6066, allocations: 4 kB / 0.5583 GB, free: 4.551 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007892/0.6074, allocations: 479 kB / 0.5588 GB, free: 4.039 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6074, allocations: 12.03 kB / 0.5588 GB, free: 4.027 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.6086, allocations: 63.67 kB / 0.5588 GB, free: 3.965 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.6089, allocations: 190.7 kB / 0.559 GB, free: 3.738 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.6089, allocations: 8 kB / 0.559 GB, free: 3.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.609, allocations: 16 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003984/0.6094, allocations: 117.1 kB / 0.5591 GB, free: 3.598 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.6098, allocations: 147.8 kB / 0.5593 GB, free: 3.445 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6098, allocations: 0 / 0.5593 GB, free: 3.445 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.6098, allocations: 4 kB / 0.5593 GB, free: 3.441 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.6099, allocations: 8 kB / 0.5593 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.6112, allocations: 0.5376 MB / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.612, allocations: 206 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.6121, allocations: 53.33 kB / 0.5601 GB, free: 2.594 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.6122, allocations: 8.234 kB / 0.5601 GB, free: 2.586 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6122, allocations: 34.8 kB / 0.5601 GB, free: 2.543 MB / 395.1 MB Notification: Performance of pre-optimization done (n=27): time 2.835e-06/0.6122, allocations: 0 / 0.5601 GB, free: 2.543 MB / 395.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004619/0.6127, allocations: 140.1 kB / 0.5602 GB, free: 2.402 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.6128, allocations: 59.39 kB / 0.5603 GB, free: 2.332 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.6129, allocations: 93 kB / 0.5604 GB, free: 2.234 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.6129, allocations: 25.7 kB / 0.5604 GB, free: 2.203 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.613, allocations: 202.7 kB / 0.5606 GB, free: 2.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6132, allocations: 94.66 kB / 0.5607 GB, free: 1.91 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.6132, allocations: 0 / 0.5607 GB, free: 1.91 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6133, allocations: 317.8 kB / 0.561 GB, free: 1.594 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.6135, allocations: 36 kB / 0.561 GB, free: 1.559 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.6136, allocations: 31.98 kB / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.6137, allocations: 39.97 kB / 0.5611 GB, free: 1.488 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6137, allocations: 0 / 0.5611 GB, free: 1.488 MB / 395.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003356/0.6141, allocations: 138.2 kB / 0.5612 GB, free: 1.348 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6141, allocations: 4 kB / 0.5612 GB, free: 1.344 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6141, allocations: 0 / 0.5612 GB, free: 1.344 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.6141, allocations: 8 kB / 0.5612 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.6149, allocations: 103.8 kB / 0.5613 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6149, allocations: 0 / 0.5613 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.615, allocations: 15.83 kB / 0.5614 GB, free: 1.219 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.6151, allocations: 8 kB / 0.5614 GB, free: 1.211 MB / 395.1 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 0.0001152/0.6152, allocations: 112.9 kB / 0.5615 GB, free: 1.094 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003862/0.6156, allocations: 141.7 kB / 0.5616 GB, free: 0.9492 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.6157, allocations: 11.81 kB / 0.5616 GB, free: 0.9375 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.6157, allocations: 21.75 kB / 0.5616 GB, free: 0.918 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6158, allocations: 4 kB / 0.5616 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6158, allocations: 256 / 0.5616 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6158, allocations: 3.984 kB / 0.5617 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.6162, allocations: 222 kB / 0.5619 GB, free: 0.6562 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6162, allocations: 0 / 0.5619 GB, free: 0.6562 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.6169, allocations: 99.89 kB / 0.562 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.617, allocations: 7.953 kB / 0.562 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.617, allocations: 0 / 0.562 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.617, allocations: 0 / 0.562 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.617, allocations: 0 / 0.562 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.6174, allocations: 247.9 kB / 0.5622 GB, free: 300 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.6175, allocations: 92.94 kB / 0.5623 GB, free: 188 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.6175, allocations: 3.953 kB / 0.5623 GB, free: 184 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6177, allocations: 0 / 0.5623 GB, free: 184 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.6178, allocations: 11.98 kB / 0.5623 GB, free: 172 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.6178, allocations: 15.92 kB / 0.5623 GB, free: 156 kB / 395.1 MB Notification: Performance of sorting global known variables: time 4.987e-05/0.6179, allocations: 79.28 kB / 0.5624 GB, free: 76 kB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6179, allocations: 0 / 0.5624 GB, free: 76 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.6183, allocations: 43.75 kB / 0.5624 GB, free: 32 kB / 395.1 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.0008956/0.6192, allocations: 0.8301 MB / 0.5632 GB, free: 15.18 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.6196, allocations: 111.9 kB / 0.5634 GB, free: 15.07 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6196, allocations: 0 / 0.5634 GB, free: 15.07 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6197, allocations: 63.94 kB / 0.5634 GB, free: 15 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.62, allocations: 3.953 kB / 0.5634 GB, free: 15 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.621, allocations: 312 kB / 0.5637 GB, free: 14.65 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.6214, allocations: 0.736 MB / 0.5644 GB, free: 13.89 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.6216, allocations: 59.41 kB / 0.5645 GB, free: 13.83 MB / 411.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6216, allocations: 0 / 0.5645 GB, free: 13.83 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.395/3.017, allocations: 2.385 MB / 0.5668 GB, free: 11.44 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat