Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.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) 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(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001486, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001056/0.001056, allocations: 78.66 kB / 267.5 MB, free: 14.06 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.862e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5149, allocations: 78.86 MB / 447.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5152, allocations: 67.72 kB / 448 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0351/0.5504, allocations: 8.069 MB / 456.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5504, allocations: 0 / 456.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.481e-05/0.5505, allocations: 12 kB / 456.1 MB, free: 7.41 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001678/0.5522, allocations: 0.7196 MB / 456.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5522, allocations: 12.03 kB / 456.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.5524, allocations: 63.25 kB / 456.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.5531, allocations: 361.6 kB / 457.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.5532, allocations: 40.31 kB / 457.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5533, allocations: 47.69 kB / 457.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.5545, allocations: 448.7 kB / 457.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.5545, allocations: 3.938 kB / 457.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.5546, allocations: 19.38 kB / 457.8 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.5547, allocations: 12.22 kB / 457.8 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.5556, allocations: 300.3 kB / 458.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004372/0.56, allocations: 1.723 MB / 459.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.5606, allocations: 248.1 kB / 460.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.5609, allocations: 132.6 kB / 460.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.561, allocations: 3.984 kB / 460.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.561, allocations: 42.06 kB / 460.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.417e-06/0.5611, allocations: 4 kB / 460.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002107/0.5632, allocations: 0.7495 MB / 461 MB, free: 3.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5633, allocations: 85.03 kB / 461.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.5639, allocations: 335.6 kB / 461.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.5639, allocations: 33.7 kB / 461.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.5642, allocations: 333.9 kB / 461.8 MB, free: 2.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5643, allocations: 118.3 kB / 461.9 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.5644, allocations: 8 kB / 461.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5645, allocations: 330.8 kB / 462.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.5648, allocations: 84.88 kB / 462.3 MB, free: 1.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.5652, allocations: 182.8 kB / 462.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.5655, allocations: 117.6 kB / 462.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5656, allocations: 4 kB / 462.6 MB, free: 1.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001166/0.5667, allocations: 401.6 kB / 463 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.5668, allocations: 8 kB / 463 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.5668, allocations: 0 / 463 MB, free: 0.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.5673, allocations: 85.81 kB / 463.1 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.5679, allocations: 75.91 kB / 463.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.5714, allocations: 2.842 MB / 466 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.572, allocations: 23.95 kB / 466 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.5721, allocations: 16 kB / 466 MB, free: 13.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.5723, allocations: 132.9 kB / 466.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5724, allocations: 51.38 kB / 466.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.5725, allocations: 43.25 kB / 466.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5726, allocations: 4 kB / 466.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5726, allocations: 0 / 466.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5726, allocations: 7.984 kB / 466.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.5746, allocations: 0.9168 MB / 467.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5747, allocations: 0 / 467.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.575, allocations: 43.92 kB / 467.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/0.5755, allocations: 85.64 kB / 467.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.5756, allocations: 8 kB / 467.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003366/0.5789, allocations: 2.85 MB / 470.2 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/0.579, allocations: 7.984 kB / 470.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.5804, allocations: 0.5873 MB / 470.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.5806, allocations: 116.7 kB / 470.9 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.5807, allocations: 4 kB / 470.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.5813, allocations: 39.97 kB / 470.9 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5815, allocations: 23.97 kB / 470.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.5815, allocations: 12 kB / 470.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004633/0.582, allocations: 262.2 kB / 471.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.582, allocations: 0 / 471.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008559/0.5829, allocations: 124 kB / 471.3 MB, free: 7.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002389/0.5831, allocations: 119.2 kB / 471.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.5844, allocations: 492.9 kB / 471.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5844, allocations: 0.625 kB / 471.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008597/0.5853, allocations: 375.6 kB / 472.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.5859, allocations: 57.2 kB / 472.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.5881, allocations: 0.7477 MB / 473.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.5887, allocations: 0.847 MB / 473.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.5889, allocations: 31.44 kB / 474 MB, free: 5.145 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5889, allocations: 4 kB / 474 MB, free: 5.141 MB / 346.7 MB Notification: Performance of Templates: time 0.01784/0.6068, allocations: 8.533 MB / 482.5 MB, free: 12.6 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches