Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 172.2 kB / 16.76 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007726/0.0007726, allocations: 101.2 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3611/0.3611, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4549, allocations: 89.64 MB / 0.5675 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4552, allocations: 59.98 kB / 0.5676 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02304/0.4783, allocations: 8.905 MB / 0.5762 GB, free: 3.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4783, allocations: 3.938 kB / 0.5763 GB, free: 3.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.4783, allocations: 12 kB / 0.5763 GB, free: 3.383 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00117/0.4795, allocations: 0.6937 MB / 0.5769 GB, free: 2.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4795, allocations: 8.031 kB / 0.5769 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.274e-05/0.4796, allocations: 52.31 kB / 0.577 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.4801, allocations: 321.3 kB / 0.5773 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.4801, allocations: 37.38 kB / 0.5773 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.4802, allocations: 40.38 kB / 0.5774 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.481, allocations: 467.5 kB / 0.5778 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.481, allocations: 192 / 0.5778 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.4811, allocations: 23.94 kB / 0.5778 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.4811, allocations: 12 kB / 0.5779 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.4818, allocations: 331.8 kB / 0.5782 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.4843, allocations: 1.714 MB / 0.5798 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.4849, allocations: 245 kB / 0.5801 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.4852, allocations: 133.7 kB / 0.5802 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.4852, allocations: 4 kB / 0.5802 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.4853, allocations: 42.56 kB / 0.5803 GB, free: 15.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/0.4853, allocations: 0 / 0.5803 GB, free: 15.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.002681/0.488, allocations: 1.261 MB / 0.5815 GB, free: 13.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.488, allocations: 81.11 kB / 0.5816 GB, free: 13.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.4883, allocations: 258.6 kB / 0.5818 GB, free: 13.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4883, allocations: 29.7 kB / 0.5818 GB, free: 13.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.4885, allocations: 259.4 kB / 0.5821 GB, free: 13.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.4886, allocations: 118.3 kB / 0.5822 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.4886, allocations: 8 kB / 0.5822 GB, free: 12.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4887, allocations: 342.8 kB / 0.5825 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.489, allocations: 116.8 kB / 0.5826 GB, free: 12.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.4893, allocations: 210.9 kB / 0.5828 GB, free: 12.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.4899, allocations: 334.8 kB / 0.5832 GB, free: 11.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4899, allocations: 0 / 0.5832 GB, free: 11.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007556/0.4907, allocations: 407.8 kB / 0.5836 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4907, allocations: 8 kB / 0.5836 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4907, allocations: 8 kB / 0.5836 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.4909, allocations: 41.08 kB / 0.5836 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.4913, allocations: 115.9 kB / 0.5837 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.4924, allocations: 1.339 MB / 0.585 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4926, allocations: 20 kB / 0.585 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.4927, allocations: 19.98 kB / 0.5851 GB, free: 9.746 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.4929, allocations: 169.6 kB / 0.5852 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.493, allocations: 39.56 kB / 0.5853 GB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.493, allocations: 38.17 kB / 0.5853 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4931, allocations: 4 kB / 0.5853 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4931, allocations: 0 / 0.5853 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4931, allocations: 0 / 0.5853 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4942, allocations: 0.7272 MB / 0.586 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4942, allocations: 0 / 0.586 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.4946, allocations: 91.88 kB / 0.5861 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-05/0.4947, allocations: 24.84 kB / 0.5861 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.4947, allocations: 16.06 kB / 0.5861 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008561/0.4956, allocations: 1.327 MB / 0.5874 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4956, allocations: 4 kB / 0.5874 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.4965, allocations: 0.6248 MB / 0.5881 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4967, allocations: 124.7 kB / 0.5882 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.4967, allocations: 4 kB / 0.5882 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.497, allocations: 27.98 kB / 0.5882 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.497, allocations: 27.91 kB / 0.5882 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4971, allocations: 8 kB / 0.5882 GB, free: 6.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4973, allocations: 182 kB / 0.5884 GB, free: 6.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4973, allocations: 0 / 0.5884 GB, free: 6.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006096/0.4979, allocations: 96 kB / 0.5885 GB, free: 5.977 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.498, allocations: 107.1 kB / 0.5886 GB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.4989, allocations: 422.2 kB / 0.589 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4989, allocations: 128 / 0.589 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.4993, allocations: 261.7 kB / 0.5893 GB, free: 5.184 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.4998, allocations: 36.55 kB / 0.5893 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.5016, allocations: 1.14 MB / 0.5904 GB, free: 3.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.502, allocations: 0.8074 MB / 0.5912 GB, free: 3.129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.5022, allocations: 34.97 kB / 0.5912 GB, free: 3.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.5023, allocations: 31.38 kB / 0.5913 GB, free: 3.066 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5023, allocations: 3.938 kB / 0.5913 GB, free: 3.062 MB / 410.7 MB Notification: Performance of Templates: time 0.006548/0.5088, allocations: 2.811 MB / 0.594 GB, free: 288 kB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches