Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008548/0.0008548, allocations: 92.05 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.157e-05, allocations: 4 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/0.4875, allocations: 81.47 MB / 483.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4878, allocations: 78.84 kB / 483.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03143/0.5192, allocations: 8.476 MB / 492 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5192, allocations: 0 / 492 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.5193, allocations: 8 kB / 492.1 MB, free: 0.8047 MB / 346.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.001299/0.5206, allocations: 0.7267 MB / 492.8 MB, free: 76 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5207, allocations: 11.2 kB / 492.8 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.5211, allocations: 96.67 kB / 492.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.5218, allocations: 354.5 kB / 493.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.5219, allocations: 43.06 kB / 493.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.522, allocations: 45.75 kB / 493.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.5231, allocations: 452.8 kB / 493.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.5231, allocations: 0 / 493.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.5232, allocations: 20.19 kB / 493.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.5232, allocations: 12 kB / 493.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.524, allocations: 303.7 kB / 494.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003502/0.5275, allocations: 1.717 MB / 495.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.528, allocations: 253.9 kB / 496 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.5284, allocations: 133.1 kB / 496.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.5284, allocations: 4 kB / 496.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.5285, allocations: 38.56 kB / 496.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.526e-06/0.5285, allocations: 4 kB / 496.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001785/0.5303, allocations: 0.7478 MB / 497 MB, free: 12.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.5303, allocations: 81.11 kB / 497.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.5309, allocations: 331.6 kB / 497.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.5309, allocations: 33.7 kB / 497.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.5311, allocations: 283.4 kB / 497.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5313, allocations: 118.4 kB / 497.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.5313, allocations: 8 kB / 497.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5315, allocations: 351 kB / 498.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.5317, allocations: 92.81 kB / 498.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.532, allocations: 186.8 kB / 498.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.5323, allocations: 114.9 kB / 498.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5323, allocations: 0 / 498.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009998/0.5334, allocations: 428 kB / 499 MB, free: 9.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5334, allocations: 4 kB / 499 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5334, allocations: 4 kB / 499 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/0.5338, allocations: 89.72 kB / 499.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.5343, allocations: 83.89 kB / 499.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.5373, allocations: 2.834 MB / 0.4902 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.5378, allocations: 22.06 kB / 0.4902 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.5378, allocations: 16 kB / 0.4902 GB, free: 6.617 MB / 362.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.0001695/0.538, allocations: 132.9 kB / 0.4904 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5381, allocations: 47.45 kB / 0.4904 GB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.5383, allocations: 47.25 kB / 0.4905 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.5383, allocations: 4 kB / 0.4905 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.5383, allocations: 0 / 0.4905 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5383, allocations: 0 / 0.4905 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.5401, allocations: 0.9128 MB / 0.4914 GB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5401, allocations: 0 / 0.4914 GB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.5404, allocations: 43.97 kB / 0.4914 GB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/0.5408, allocations: 89.5 kB / 0.4915 GB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.5408, allocations: 12.17 kB / 0.4915 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.5439, allocations: 2.838 MB / 0.4943 GB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.5439, allocations: 7.891 kB / 0.4943 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5452, allocations: 0.5914 MB / 0.4948 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.5454, allocations: 116.6 kB / 0.495 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.5455, allocations: 11.98 kB / 0.495 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.546, allocations: 35.98 kB / 0.495 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.5461, allocations: 20.16 kB / 0.495 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.5461, allocations: 15.98 kB / 0.495 GB, free: 1.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004579/0.5466, allocations: 262.2 kB / 0.4953 GB, free: 1.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5466, allocations: 0 / 0.4953 GB, free: 1.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001024/0.5476, allocations: 124.8 kB / 0.4954 GB, free: 0.9336 MB / 362.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.0002355/0.5479, allocations: 123.1 kB / 0.4955 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5491, allocations: 494.8 kB / 0.496 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5491, allocations: 0.625 kB / 0.496 GB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.55, allocations: 373.1 kB / 0.4964 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.5506, allocations: 57.58 kB / 0.4964 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5528, allocations: 0.7141 MB / 0.4971 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.5534, allocations: 0.8392 MB / 0.4979 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.5538, allocations: 51.28 kB / 0.498 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.5539, allocations: 27.44 kB / 0.498 GB, free: 14.17 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5539, allocations: 0 / 0.498 GB, free: 14.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01376/0.5677, allocations: 4.245 MB / 0.5021 GB, free: 10.02 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches