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.001606/0.001606, allocations: 201.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00081/0.0008101, allocations: 94.3 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.238e-05, allocations: 4 kB / 343.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 51.48 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.5772, allocations: 80.81 MB / 476 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5775, allocations: 69.39 kB / 476 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.5969, allocations: 8.387 MB / 484.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5969, allocations: 0 / 484.4 MB, free: 5.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.597, allocations: 19.98 kB / 484.4 MB, free: 5.246 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.0008543/0.5978, allocations: 0.726 MB / 485.2 MB, free: 4.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5979, allocations: 8.031 kB / 485.2 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.5981, allocations: 92.08 kB / 485.3 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.5985, allocations: 353 kB / 485.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5985, allocations: 19.94 kB / 485.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.5986, allocations: 28 kB / 485.7 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004071/0.599, allocations: 274 kB / 485.9 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.5995, allocations: 384.8 kB / 486.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5995, allocations: 0 / 486.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.5995, allocations: 0 / 486.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.5996, allocations: 16 kB / 486.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.6015, allocations: 1.614 MB / 487.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.6018, allocations: 243.4 kB / 488.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.602, allocations: 120.7 kB / 488.3 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.602, allocations: 4 kB / 488.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.602, allocations: 42.06 kB / 488.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.602, allocations: 0 / 488.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001009/0.603, allocations: 0.7017 MB / 489 MB, free: 1.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.6031, allocations: 85.11 kB / 489.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.6033, allocations: 305.4 kB / 489.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6034, allocations: 25.7 kB / 489.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.6035, allocations: 286 kB / 489.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.6035, allocations: 107.8 kB / 489.8 MB, free: 444 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6035, allocations: 224 / 489.8 MB, free: 444 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.6036, allocations: 347.7 kB / 490.2 MB, free: 104 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.6037, allocations: 85.06 kB / 490.2 MB, free: 52 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.6039, allocations: 170 kB / 490.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.6041, allocations: 111.7 kB / 490.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6041, allocations: 0 / 490.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006064/0.6047, allocations: 376.8 kB / 490.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6047, allocations: 11.98 kB / 490.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.6048, allocations: 3.953 kB / 490.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/0.605, allocations: 87.45 kB / 491 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.6054, allocations: 75.89 kB / 491.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.6074, allocations: 2.74 MB / 493.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.6077, allocations: 19.83 kB / 493.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.6077, allocations: 15.88 kB / 493.8 MB, free: 12.5 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.0001059/0.6078, allocations: 116.9 kB / 494 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.6079, allocations: 43.48 kB / 494 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.608, allocations: 37.48 kB / 494 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.608, allocations: 4 kB / 494 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.608, allocations: 0 / 494 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.608, allocations: 3.984 kB / 494 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.6091, allocations: 0.823 MB / 494.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6091, allocations: 3.984 kB / 494.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.6093, allocations: 53.92 kB / 494.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.6096, allocations: 83.3 kB / 495 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.6096, allocations: 3.953 kB / 495 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.6115, allocations: 2.74 MB / 497.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6115, allocations: 4.031 kB / 497.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.6122, allocations: 0.5605 MB / 498.3 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.6123, allocations: 112 kB / 498.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.6123, allocations: 7.953 kB / 498.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.6127, allocations: 27.98 kB / 498.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.6128, allocations: 30.27 kB / 498.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.6128, allocations: 10.88 kB / 498.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.613, allocations: 233.7 kB / 498.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.613, allocations: 0 / 498.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.6136, allocations: 111.9 kB / 498.8 MB, free: 7.68 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.0001513/0.6137, allocations: 107.2 kB / 498.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006687/0.6144, allocations: 466 kB / 499.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6144, allocations: 0 / 499.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.6149, allocations: 354.8 kB / 499.7 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.6152, allocations: 40.72 kB / 499.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.6164, allocations: 0.682 MB / 0.4887 GB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.6168, allocations: 0.8509 MB / 0.4896 GB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.617, allocations: 43.25 kB / 0.4896 GB, free: 5.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.6171, allocations: 35.31 kB / 0.4896 GB, free: 5.207 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6171, allocations: 0 / 0.4896 GB, free: 5.207 MB / 362.7 MB Notification: Performance of Templates: time 0.007326/0.6244, allocations: 3.633 MB / 0.4932 GB, free: 1.656 MB / 362.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