Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources",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.002018/0.002023, allocations: 179.4 kB / 8.364 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.179/2.179, 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.001138/0.001137, allocations: 90.5 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.3029/0.3029, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.148e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4083, allocations: 58.85 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.02/11.43, allocations: 3.612 GB / 4.078 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/11.43, allocations: 81.77 kB / 4.078 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 8.871/20.3, allocations: 1.428 GB / 5.506 GB, free: 37.29 MB / 0.589 GB Notification: Performance of FrontEnd: time 2.044e-06/20.3, allocations: 0 / 5.506 GB, free: 37.29 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0002778/20.3, allocations: 59.44 kB / 5.506 GB, free: 37.29 MB / 0.589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.03349/20.34, allocations: 7.099 MB / 5.513 GB, free: 33.97 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/20.34, allocations: 9.625 kB / 5.513 GB, free: 33.97 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/20.34, allocations: 279.1 kB / 5.513 GB, free: 33.85 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/20.34, allocations: 1.436 MB / 5.515 GB, free: 33.46 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/20.34, allocations: 60.94 kB / 5.515 GB, free: 33.46 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000985/20.35, allocations: 106.5 kB / 5.515 GB, free: 33.46 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008467/20.35, allocations: 2.877 MB / 5.518 GB, free: 33.45 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/20.36, allocations: 2.649 MB / 5.52 GB, free: 33.17 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.077e-05/20.36, allocations: 7.062 kB / 5.52 GB, free: 33.17 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007347/20.37, allocations: 2.875 kB / 5.52 GB, free: 33.17 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/20.37, allocations: 163.3 kB / 5.52 GB, free: 33.16 MB / 0.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03333/20.4, allocations: 11.71 MB / 5.532 GB, free: 27.83 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006283/20.41, allocations: 2.049 MB / 5.534 GB, free: 27.8 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/20.41, allocations: 0.8857 MB / 5.535 GB, free: 27.8 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/20.41, allocations: 2.466 MB / 5.537 GB, free: 25.27 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/20.41, allocations: 61.72 kB / 5.537 GB, free: 25.22 MB / 0.589 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002158/20.41, allocations: 190.2 kB / 5.537 GB, free: 25.15 MB / 0.589 GB Notification: Performance of pre-optimization done (n=145): time 6.132e-06/20.41, allocations: 0 / 5.537 GB, free: 25.15 MB / 0.589 GB Notification: Performance of matching and sorting (n=145): time 0.009858/20.42, allocations: 2.338 MB / 5.54 GB, free: 24.99 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/20.42, allocations: 206.6 kB / 5.54 GB, free: 24.77 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/20.42, allocations: 1.136 MB / 5.541 GB, free: 24.59 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0006775/20.43, allocations: 31.14 kB / 5.541 GB, free: 24.56 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/20.43, allocations: 0.9377 MB / 5.542 GB, free: 24.03 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/20.43, allocations: 492.4 kB / 5.542 GB, free: 23.7 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/20.43, allocations: 3.594 kB / 5.542 GB, free: 23.7 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0001437/20.43, allocations: 388.1 kB / 5.543 GB, free: 23.39 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/20.43, allocations: 0.9731 MB / 5.544 GB, free: 23.39 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/20.43, allocations: 1.364 MB / 5.545 GB, free: 22.98 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02527/20.46, allocations: 3.293 MB / 5.548 GB, free: 22.96 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.835e-05/20.46, allocations: 3.844 kB / 5.548 GB, free: 22.96 MB / 0.589 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.03082/20.49, allocations: 4.895 MB / 5.553 GB, free: 22.83 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009429/20.49, allocations: 3.975 MB / 5.557 GB, free: 18.69 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/20.49, allocations: 12.97 kB / 5.557 GB, free: 18.69 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/20.49, allocations: 301.1 kB / 5.557 GB, free: 18.67 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/20.5, allocations: 462.4 kB / 5.558 GB, free: 18.67 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/20.5, allocations: 1.774 MB / 5.559 GB, free: 17.62 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/20.5, allocations: 109.6 kB / 5.559 GB, free: 17.61 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006522/20.5, allocations: 154.8 kB / 5.56 GB, free: 17.61 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/20.5, allocations: 3.5 kB / 5.56 GB, free: 17.61 MB / 0.589 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03103/20.53, allocations: 4.558 MB / 5.564 GB, free: 17.54 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/20.53, allocations: 10.44 kB / 5.564 GB, free: 17.54 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/20.54, allocations: 154.1 kB / 5.564 GB, free: 17.53 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/20.54, allocations: 0.4996 MB / 5.565 GB, free: 17.53 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/20.54, allocations: 1.382 MB / 5.566 GB, free: 16.49 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/20.55, allocations: 94.83 kB / 5.566 GB, free: 16.48 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006761/20.55, allocations: 146.1 kB / 5.566 GB, free: 16.48 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009228/20.55, allocations: 156.5 kB / 5.566 GB, free: 16.37 MB / 0.589 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01007/20.56, allocations: 2.311 MB / 5.569 GB, free: 16.2 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008429/20.56, allocations: 170.5 kB / 5.569 GB, free: 16.12 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/20.57, allocations: 3.435 MB / 5.572 GB, free: 15.89 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/20.57, allocations: 14.12 kB / 5.572 GB, free: 15.89 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/20.57, allocations: 2.406 kB / 5.572 GB, free: 15.89 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/20.57, allocations: 11.75 kB / 5.572 GB, free: 15.89 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/20.59, allocations: 7.761 MB / 5.58 GB, free: 14.02 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/20.59, allocations: 6.281 kB / 5.58 GB, free: 14.02 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/20.6, allocations: 296.3 kB / 5.58 GB, free: 14.02 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/20.6, allocations: 309.8 kB / 5.58 GB, free: 14.01 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003297/20.6, allocations: 46.31 kB / 5.58 GB, free: 14.01 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/20.6, allocations: 1.804 MB / 5.582 GB, free: 12.96 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/20.6, allocations: 12 kB / 5.582 GB, free: 12.96 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/20.61, allocations: 3.438 MB / 5.586 GB, free: 11.53 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/20.61, allocations: 316.3 kB / 5.586 GB, free: 11.34 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006202/20.61, allocations: 16.08 kB / 5.586 GB, free: 11.34 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/20.62, allocations: 87.56 kB / 5.586 GB, free: 11.33 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/20.62, allocations: 143.1 kB / 5.586 GB, free: 11.32 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004756/20.62, allocations: 126.7 kB / 5.586 GB, free: 11.32 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.001979/20.62, allocations: 0.9004 MB / 5.587 GB, free: 11.21 MB / 0.589 GB Notification: Performance of sort global known variables: time 5.91e-07/20.62, allocations: 0 / 5.587 GB, free: 11.21 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.01368/20.63, allocations: 3.04 MB / 5.59 GB, free: 10.52 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02718/20.66, allocations: 10.96 MB / 5.601 GB, free: 21.18 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.01036/20.67, allocations: 4.113 MB / 5.605 GB, free: 20.52 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/20.67, allocations: 6.547 kB / 5.605 GB, free: 20.52 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/20.67, allocations: 1.038 MB / 5.606 GB, free: 20.52 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00738/20.68, allocations: 0.7649 MB / 5.607 GB, free: 20.49 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/20.7, allocations: 4.612 MB / 5.611 GB, free: 19.04 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/20.7, allocations: 1.649 MB / 5.613 GB, free: 18.31 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/20.7, allocations: 0.879 MB / 5.614 GB, free: 18.3 MB / 0.6046 GB Notification: Performance of SimCode: time 1.422e-06/20.7, allocations: 0 / 5.614 GB, free: 18.3 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.733/25.44, allocations: 91.87 MB / 5.703 GB, free: 9.41 MB / 0.6202 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat