Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009715/0.009715, allocations: 166.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.647/1.647, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001935/0.001935, allocations: 95.47 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4471/0.4471, allocations: 38.05 MB / 303.7 MB, free: 42.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.000495, allocations: 8 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.12/11.23, allocations: 3.662 GB / 4.064 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/11.23, allocations: 87.92 kB / 4.064 GB, free: 6.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.078/20.31, allocations: 1.43 GB / 5.494 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.856e-06/20.31, allocations: 0 / 5.494 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002859/20.31, allocations: 61.45 kB / 5.494 GB, free: 21.26 MB / 0.5105 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.03372/20.35, allocations: 7.322 MB / 5.501 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/20.35, allocations: 12.41 kB / 5.501 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001606/20.35, allocations: 277.8 kB / 5.501 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/20.35, allocations: 275.2 kB / 5.501 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005842/20.35, allocations: 1.52 MB / 5.503 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/20.36, allocations: 148.2 kB / 5.503 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/20.36, allocations: 183.8 kB / 5.503 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/20.37, allocations: 2.955 MB / 5.506 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.46e-05/20.37, allocations: 7.125 kB / 5.506 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005234/20.37, allocations: 84.53 kB / 5.506 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003358/20.37, allocations: 162.9 kB / 5.506 GB, free: 16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/20.38, allocations: 3.24 MB / 5.509 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03365/20.41, allocations: 10.89 MB / 5.52 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/20.42, allocations: 1.88 MB / 5.522 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003746/20.42, allocations: 3.493 MB / 5.525 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.336e-05/20.42, allocations: 55.88 kB / 5.525 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002098/20.42, allocations: 212.8 kB / 5.526 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 6.262e-06/20.42, allocations: 0 / 5.526 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.0108/20.43, allocations: 2.836 MB / 5.528 GB, free: 60 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/20.43, allocations: 197.2 kB / 5.528 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/20.44, allocations: 1.329 MB / 5.53 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006327/20.44, allocations: 61.7 kB / 5.53 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/20.44, allocations: 0.9785 MB / 5.531 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/20.44, allocations: 0.5212 MB / 5.531 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/20.44, allocations: 48 kB / 5.531 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000271/20.44, allocations: 391.3 kB / 5.532 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/20.45, allocations: 0.8454 MB / 5.533 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/20.45, allocations: 1.53 MB / 5.534 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/20.45, allocations: 1.244 MB / 5.535 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-05/20.45, allocations: 7.938 kB / 5.535 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01154/20.47, allocations: 2.983 MB / 5.538 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.4953/20.96, allocations: 8.441 MB / 5.546 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.648e-05/20.96, allocations: 21.78 kB / 5.546 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/20.97, allocations: 0.6266 MB / 5.547 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/20.97, allocations: 0.4961 MB / 5.548 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/20.97, allocations: 1.508 MB / 5.549 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/20.98, allocations: 173 kB / 5.549 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007771/20.98, allocations: 163.8 kB / 5.549 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/20.98, allocations: 9.062 kB / 5.549 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008733/20.99, allocations: 2.692 MB / 5.552 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/20.99, allocations: 29.62 kB / 5.552 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/20.99, allocations: 339.3 kB / 5.552 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004649/20.99, allocations: 0.5448 MB / 5.553 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/21, allocations: 1.258 MB / 5.554 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/21, allocations: 157.4 kB / 5.554 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009819/21, allocations: 161.3 kB / 5.554 GB, free: 34.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * 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.002388/21, allocations: 0.6285 MB / 5.555 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/21, allocations: 190.8 kB / 5.555 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/21.01, allocations: 3.204 MB / 5.558 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/21.01, allocations: 16.53 kB / 5.558 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/21.01, allocations: 2.625 kB / 5.558 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-05/21.01, allocations: 21.44 kB / 5.558 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/21.03, allocations: 4.648 MB / 5.563 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/21.03, allocations: 2.906 kB / 5.563 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/21.03, allocations: 307.7 kB / 5.563 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004777/21.04, allocations: 0.5711 MB / 5.564 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005851/21.04, allocations: 61.08 kB / 5.564 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/21.04, allocations: 1.514 MB / 5.565 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/21.04, allocations: 6.844 kB / 5.565 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008862/21.05, allocations: 2.595 MB / 5.568 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/21.05, allocations: 299.7 kB / 5.568 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/21.05, allocations: 35.16 kB / 5.568 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/21.06, allocations: 111.9 kB / 5.568 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000699/21.06, allocations: 133.8 kB / 5.568 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004275/21.06, allocations: 115.2 kB / 5.568 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002667/21.06, allocations: 1.045 MB / 5.57 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.22e-07/21.06, allocations: 1.375 kB / 5.57 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01655/21.08, allocations: 3.077 MB / 5.573 GB, free: 31.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (159): * Single equations (assignments): 156 * 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.02452/21.1, allocations: 8.434 MB / 5.581 GB, free: 28.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01202/21.11, allocations: 3.967 MB / 5.585 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/21.11, allocations: 4.625 kB / 5.585 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003276/21.12, allocations: 0.9624 MB / 5.586 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007429/21.12, allocations: 0.8537 MB / 5.586 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/21.15, allocations: 21.24 MB / 5.607 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/21.15, allocations: 1.656 MB / 5.609 GB, free: 25.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007357/21.16, allocations: 1.045 MB / 5.61 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/21.16, allocations: 0.8562 MB / 5.611 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of SimCode: time 1.233e-06/21.16, allocations: 1.969 kB / 5.611 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2825/21.44, allocations: 115.7 MB / 5.724 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004223/21.44, allocations: 251.7 kB / 5.724 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/30.05, allocations: 4 kB / 5.724 GB, free: 1.891 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat