Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexOperations",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.001264/0.001264, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.405/1.405, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 95.41 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3848/0.3848, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004118, allocations: 4 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4347, allocations: 61.91 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5902, allocations: 89.77 MB / 0.5973 GB, free: 5.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.5905, allocations: 71.94 kB / 0.5974 GB, free: 5.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02965/0.6202, allocations: 10.02 MB / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6202, allocations: 0 / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.6202, allocations: 0 / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007203/0.621, allocations: 476.8 kB / 0.6076 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.621, allocations: 8.031 kB / 0.6076 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.6211, allocations: 34.56 kB / 0.6076 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.6211, allocations: 3.906 kB / 0.6076 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.6212, allocations: 163.1 kB / 0.6078 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.6212, allocations: 0 / 0.6078 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.6213, allocations: 11.83 kB / 0.6078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.6214, allocations: 29.7 kB / 0.6078 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6214, allocations: 4 kB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.6214, allocations: 0 / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.6214, allocations: 0 / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.6214, allocations: 8 kB / 0.6079 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.6216, allocations: 145.7 kB / 0.608 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.6217, allocations: 18.56 kB / 0.608 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.6217, allocations: 3.938 kB / 0.608 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.548e-05/0.6218, allocations: 68.31 kB / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.6218, allocations: 0 / 0.6081 GB, free: 10.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002016/0.622, allocations: 59.41 kB / 0.6081 GB, free: 10.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.6221, allocations: 85.09 kB / 0.6082 GB, free: 9.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/0.6221, allocations: 85 kB / 0.6083 GB, free: 9.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.6221, allocations: 25.7 kB / 0.6083 GB, free: 9.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.6222, allocations: 80.14 kB / 0.6084 GB, free: 9.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.6222, allocations: 3.984 kB / 0.6084 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.6222, allocations: 0 / 0.6084 GB, free: 9.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6223, allocations: 315 kB / 0.6087 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.6223, allocations: 4 kB / 0.6087 GB, free: 9.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.6224, allocations: 7.938 kB / 0.6087 GB, free: 9.375 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.6224, allocations: 25.7 kB / 0.6087 GB, free: 9.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.6224, allocations: 0 / 0.6087 GB, free: 9.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.132e-05/0.6225, allocations: 63.39 kB / 0.6088 GB, free: 9.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.6225, allocations: 29.7 kB / 0.6088 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6225, allocations: 7.938 kB / 0.6088 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6226, allocations: 4.047 kB / 0.6088 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.6226, allocations: 4 kB / 0.6088 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6226, allocations: 0 / 0.6088 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.6226, allocations: 0 / 0.6088 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.6226, allocations: 0 / 0.6088 GB, free: 9.219 MB / 426.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.667e-05/0.6227, allocations: 136.1 kB / 0.609 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.6227, allocations: 4 kB / 0.609 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.6227, allocations: 10.7 kB / 0.609 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6228, allocations: 7.938 kB / 0.609 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.6228, allocations: 4 kB / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6228, allocations: 3.938 kB / 0.609 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.6229, allocations: 145.7 kB / 0.6091 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6229, allocations: 0 / 0.6091 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-06/0.6229, allocations: 0 / 0.6091 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.6229, allocations: 3.938 kB / 0.6091 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.6229, allocations: 0 / 0.6091 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.6229, allocations: 3.984 kB / 0.6092 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6229, allocations: 7.953 kB / 0.6092 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.623, allocations: 86.84 kB / 0.6092 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.6231, allocations: 77.11 kB / 0.6093 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.6231, allocations: 7.984 kB / 0.6093 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.6231, allocations: 0 / 0.6093 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.6231, allocations: 0 / 0.6093 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.6232, allocations: 3.953 kB / 0.6093 GB, free: 8.621 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.6232, allocations: 75.28 kB / 0.6094 GB, free: 8.547 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6232, allocations: 0 / 0.6094 GB, free: 8.547 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006354/0.6238, allocations: 175.8 kB / 0.6096 GB, free: 8.375 MB / 426.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001114/0.625, allocations: 0.9273 MB / 0.6105 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.6251, allocations: 67.34 kB / 0.6105 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6251, allocations: 0 / 0.6105 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.6251, allocations: 51.41 kB / 0.6106 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.434e-05/0.6252, allocations: 5.375 kB / 0.6106 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.6256, allocations: 220.1 kB / 0.6108 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.626, allocations: 0.677 MB / 0.6115 GB, free: 6.316 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.524e-06/0.626, allocations: 0 / 0.6115 GB, free: 6.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.626, allocations: 11.44 kB / 0.6115 GB, free: 6.305 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.626, allocations: 0 / 0.6115 GB, free: 6.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.6443, allocations: 4.812 MB / 0.6162 GB, free: 1.617 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.6446, allocations: 222.2 kB / 0.6164 GB, free: 1.375 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.317, allocations: 3.938 kB / 0.6164 GB, free: 1.371 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat