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.001463/0.001463, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 101.2 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009967/0.000997, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2591, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004199/0.2634, allocations: 4.122 MB / 411.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2652, allocations: 0.9281 MB / 412.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.2657, allocations: 8 kB / 412.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.266, allocations: 67.45 kB / 412.2 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2663, allocations: 154.8 kB / 412.3 MB, free: 22.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2667, allocations: 123.9 kB / 412.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.2672, allocations: 0.6459 MB / 413.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.2675, allocations: 183.9 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.2678, allocations: 235 kB / 413.5 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.268, allocations: 290.6 kB / 413.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.2681, allocations: 40 kB / 413.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2682, allocations: 44 kB / 413.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.2683, allocations: 107.5 kB / 414 MB, free: 20.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.2685, allocations: 282.5 kB / 414.3 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.2689, allocations: 0.6203 MB / 414.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2689, allocations: 4 kB / 414.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2689, allocations: 0 / 414.9 MB, free: 19.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.2689, allocations: 0 / 414.9 MB, free: 19.97 MB / 298.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.001287/0.2702, allocations: 0.8533 MB / 415.7 MB, free: 19.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2702, allocations: 16.03 kB / 415.7 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.2705, allocations: 80.25 kB / 415.8 MB, free: 18.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.2709, allocations: 367.6 kB / 416.2 MB, free: 18.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2709, allocations: 45.31 kB / 416.2 MB, free: 18.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.271, allocations: 48.38 kB / 416.3 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/0.2716, allocations: 479.5 kB / 416.7 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2716, allocations: 4 kB / 416.7 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.2717, allocations: 20 kB / 416.8 MB, free: 17.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.2717, allocations: 15.98 kB / 416.8 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.2722, allocations: 332.3 kB / 417.1 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.2744, allocations: 1.689 MB / 418.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.2748, allocations: 277 kB / 419.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.275, allocations: 137.7 kB / 419.2 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.275, allocations: 7.984 kB / 419.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2751, allocations: 34.5 kB / 419.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/0.2751, allocations: 0 / 419.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001573/0.2767, allocations: 0.9528 MB / 420.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.2767, allocations: 81.11 kB / 420.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.277, allocations: 385.6 kB / 420.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.277, allocations: 33.7 kB / 420.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2771, allocations: 283.5 kB / 421 MB, free: 13.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.2772, allocations: 118.3 kB / 421.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.2773, allocations: 74.03 kB / 421.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.2774, allocations: 354.7 kB / 421.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2776, allocations: 100.8 kB / 421.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2778, allocations: 194.5 kB / 421.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.2782, allocations: 308.1 kB / 422.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2782, allocations: 4 kB / 422.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006745/0.2789, allocations: 446.5 kB / 422.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2789, allocations: 4 kB / 422.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.2789, allocations: 4 kB / 422.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.2792, allocations: 81.81 kB / 422.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.2795, allocations: 79.83 kB / 422.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2812, allocations: 2.854 MB / 425.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.2816, allocations: 19.98 kB / 425.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.2816, allocations: 16 kB / 425.6 MB, free: 8.547 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.2818, allocations: 175.2 kB / 425.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.2819, allocations: 39.53 kB / 425.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.2819, allocations: 43.47 kB / 425.8 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.282, allocations: 7.938 kB / 425.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.282, allocations: 4 kB / 425.8 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.282, allocations: 3.984 kB / 425.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2831, allocations: 0.9333 MB / 426.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2831, allocations: 3.938 kB / 426.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2833, allocations: 47.97 kB / 426.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.2836, allocations: 81.83 kB / 426.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2836, allocations: 11.98 kB / 426.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.2852, allocations: 2.857 MB / 429.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2852, allocations: 0 / 429.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/0.2912, allocations: 5.721 MB / 435.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.2913, allocations: 112.8 kB / 435.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.2914, allocations: 16.12 kB / 435.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.2917, allocations: 31.97 kB / 435.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.2918, allocations: 23.97 kB / 435.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2919, allocations: 12 kB / 435.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003018/0.2922, allocations: 271.2 kB / 436 MB, free: 13.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2922, allocations: 8 kB / 436 MB, free: 13.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007989/0.293, allocations: 167.9 kB / 436.1 MB, free: 13.2 MB / 314.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.2932, allocations: 107.2 kB / 436.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.2942, allocations: 0.5145 MB / 436.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2942, allocations: 0 / 436.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.2948, allocations: 385.2 kB / 437.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.2955, allocations: 69.23 kB / 437.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.2979, allocations: 1.641 MB / 438.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.2983, allocations: 0.8469 MB / 439.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.2986, allocations: 51.27 kB / 439.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.2987, allocations: 27.44 kB / 439.8 MB, free: 9.426 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2987, allocations: 3.938 kB / 439.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of Templates: time 0.01188/0.3106, allocations: 5.388 MB / 445.1 MB, free: 4.078 MB / 314.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@2/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