Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.0141/0.0141, allocations: 175.4 kB / 15.12 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.867/1.867, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00202/0.00202, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2482/0.2482, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 13.16 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.91/11.02, allocations: 3.668 GB / 4.119 GB, free: 114.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/11.02, allocations: 93 kB / 4.119 GB, free: 114.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.903/19.92, allocations: 1.439 GB / 5.558 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.785e-06/19.92, allocations: 0 / 5.558 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002347/19.92, allocations: 55.98 kB / 5.558 GB, free: 27.9 MB / 0.5573 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.03476/19.96, allocations: 7.328 MB / 5.565 GB, free: 23.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/19.96, allocations: 11.38 kB / 5.565 GB, free: 23.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001755/19.96, allocations: 279 kB / 5.566 GB, free: 23.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/19.96, allocations: 277.7 kB / 5.566 GB, free: 23.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/19.97, allocations: 1.518 MB / 5.567 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/19.97, allocations: 144.5 kB / 5.567 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/19.97, allocations: 179.8 kB / 5.568 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009549/19.98, allocations: 2.963 MB / 5.57 GB, free: 23.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/19.98, allocations: 6.312 kB / 5.57 GB, free: 23.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005528/19.98, allocations: 81.39 kB / 5.571 GB, free: 23.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003251/19.98, allocations: 159.1 kB / 5.571 GB, free: 23.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/19.99, allocations: 3.237 MB / 5.574 GB, free: 23.04 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/20.02, allocations: 11.25 MB / 5.585 GB, free: 18.13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/20.03, allocations: 1.875 MB / 5.587 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003884/20.03, allocations: 3.491 MB / 5.59 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.898e-05/20.03, allocations: 55.69 kB / 5.59 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002066/20.03, allocations: 206.1 kB / 5.59 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=150): time 6.082e-06/20.04, allocations: 0 / 5.59 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=150): time 0.01049/20.05, allocations: 2.833 MB / 5.593 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/20.05, allocations: 202.6 kB / 5.593 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/20.05, allocations: 1.327 MB / 5.595 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006466/20.05, allocations: 59.86 kB / 5.595 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000944/20.05, allocations: 0.9881 MB / 5.596 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/20.05, allocations: 0.5168 MB / 5.596 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/20.05, allocations: 45.72 kB / 5.596 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001866/20.05, allocations: 390 kB / 5.597 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002976/20.06, allocations: 0.8476 MB / 5.597 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/20.06, allocations: 1.533 MB / 5.599 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/20.06, allocations: 1.239 MB / 5.6 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-05/20.06, allocations: 3.594 kB / 5.6 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01032/20.07, allocations: 2.994 MB / 5.603 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00302/20.08, allocations: 8.444 MB / 5.611 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.306e-05/20.08, allocations: 21.44 kB / 5.611 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/20.08, allocations: 0.6334 MB / 5.612 GB, free: 18.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/20.09, allocations: 0.4956 MB / 5.612 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/20.09, allocations: 1.511 MB / 5.614 GB, free: 17.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/20.09, allocations: 175.8 kB / 5.614 GB, free: 17.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008772/20.09, allocations: 164.7 kB / 5.614 GB, free: 17.15 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/20.09, allocations: 3.25 kB / 5.614 GB, free: 17.15 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008894/20.1, allocations: 2.704 MB / 5.617 GB, free: 16.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.36e-05/20.1, allocations: 18.47 kB / 5.617 GB, free: 16.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/20.11, allocations: 337.8 kB / 5.617 GB, free: 16.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004659/20.11, allocations: 0.5502 MB / 5.618 GB, free: 16.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/20.11, allocations: 1.262 MB / 5.619 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/20.12, allocations: 150.1 kB / 5.619 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009733/20.12, allocations: 165.9 kB / 5.619 GB, free: 15.7 MB / 0.573 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.002542/20.12, allocations: 0.6235 MB / 5.62 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007287/20.12, allocations: 195.4 kB / 5.62 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/20.13, allocations: 3.201 MB / 5.623 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/20.13, allocations: 23.42 kB / 5.623 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/20.13, allocations: 5.156 kB / 5.623 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-05/20.13, allocations: 10.36 kB / 5.623 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/20.15, allocations: 4.646 MB / 5.628 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/20.15, allocations: 3.594 kB / 5.628 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/20.15, allocations: 315.8 kB / 5.628 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004614/20.16, allocations: 0.5781 MB / 5.629 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005325/20.16, allocations: 58.25 kB / 5.629 GB, free: 14.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/20.16, allocations: 1.515 MB / 5.63 GB, free: 13.35 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/20.16, allocations: 6.688 kB / 5.63 GB, free: 13.35 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/20.17, allocations: 2.593 MB / 5.633 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/20.17, allocations: 297.9 kB / 5.633 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008849/20.17, allocations: 35.23 kB / 5.633 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/20.17, allocations: 110.4 kB / 5.633 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/20.17, allocations: 131.6 kB / 5.633 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003572/20.17, allocations: 115.4 kB / 5.633 GB, free: 12.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002396/20.17, allocations: 1.048 MB / 5.634 GB, free: 12.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.92e-07/20.17, allocations: 0 / 5.634 GB, free: 12.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01477/20.19, allocations: 3.085 MB / 5.637 GB, free: 11.46 MB / 0.573 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.02328/20.21, allocations: 8.417 MB / 5.646 GB, free: 7.227 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01187/20.22, allocations: 3.971 MB / 5.649 GB, free: 5.504 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/20.22, allocations: 4.25 kB / 5.649 GB, free: 5.504 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003339/20.23, allocations: 0.9738 MB / 5.65 GB, free: 5.188 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007765/20.23, allocations: 0.8615 MB / 5.651 GB, free: 4.988 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/20.26, allocations: 21.24 MB / 5.672 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/20.26, allocations: 1.658 MB / 5.674 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007369/20.27, allocations: 1.041 MB / 5.675 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/20.27, allocations: 0.8609 MB / 5.675 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of SimCode: time 1.232e-06/20.27, allocations: 0 / 5.675 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8248/21.1, allocations: 115.7 MB / 5.788 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/21.1, allocations: 255.7 kB / 5.789 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.721/29.82, allocations: 7.719 kB / 5.789 GB, free: 59.25 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat