Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001348, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.00152, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009758/0.0009758, allocations: 35.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2231, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008421/0.2316, allocations: 7.773 MB / 409.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.236, allocations: 2.644 MB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006601/0.2367, allocations: 71.69 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.2379, allocations: 0.5521 MB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.2396, allocations: 0.7496 MB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.2403, allocations: 407.4 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.2433, allocations: 3.292 MB / 416.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003622/0.247, allocations: 3.581 MB / 420.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/0.2494, allocations: 1.653 MB / 422.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.2519, allocations: 2.032 MB / 424.2 MB, free: 2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005567/0.2525, allocations: 460 kB / 424.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2536, allocations: 0.6753 MB / 425.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.2546, allocations: 1.239 MB / 426.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.2566, allocations: 1.968 MB / 428.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.2616, allocations: 6.103 MB / 434.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2616, allocations: 0 / 434.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2616, allocations: 0 / 434.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.296e-05/0.2617, allocations: 0 / 434.6 MB, free: 7.539 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006469/0.2681, allocations: 3.802 MB / 438.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2682, allocations: 12.03 kB / 438.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009232/0.2691, allocations: 384.7 kB / 438.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.2723, allocations: 2.158 MB / 440.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.2725, allocations: 225.8 kB / 441.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/0.2729, allocations: 284 kB / 441.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00625/0.2791, allocations: 4.187 MB / 445.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.2792, allocations: 0 / 445.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.2795, allocations: 120 kB / 445.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.2796, allocations: 141.9 kB / 445.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/0.2849, allocations: 3.49 MB / 449.4 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.3012, allocations: 10.77 MB / 460.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.3039, allocations: 2.643 MB / 462.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.3062, allocations: 1.497 MB / 464.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.3065, allocations: 126 kB / 464.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.3065, allocations: 51.5 kB / 464.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.987e-06/0.3065, allocations: 0 / 464.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008873/0.3154, allocations: 5.172 MB / 469.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.3155, allocations: 94.42 kB / 469.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.3182, allocations: 1.909 MB / 471.6 MB, free: 1.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.3184, allocations: 49.64 kB / 471.7 MB, free: 1.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008492/0.3192, allocations: 1.322 MB / 473 MB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/0.3196, allocations: 457.5 kB / 473.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.32, allocations: 267.4 kB / 473.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.3201, allocations: 313 kB / 474 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.3213, allocations: 0.8198 MB / 474.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.3228, allocations: 1.178 MB / 476 MB, free: 13.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.3255, allocations: 2.082 MB / 478.1 MB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.3255, allocations: 4 kB / 478.1 MB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004264/0.3298, allocations: 2.523 MB / 480.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.3298, allocations: 8 kB / 480.6 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.3298, allocations: 12 kB / 480.6 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/0.3317, allocations: 483.8 kB / 481.1 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.3332, allocations: 331.5 kB / 481.4 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00741/0.3406, allocations: 4.396 MB / 485.8 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.3426, allocations: 83.83 kB / 485.9 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.3428, allocations: 60 kB / 486 MB, free: 2.969 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002405/0.3452, allocations: 1.049 MB / 487 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006885/0.3459, allocations: 193.7 kB / 487.2 MB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/0.351, allocations: 2.137 MB / 489.3 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/0.3511, allocations: 19.98 kB / 489.4 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3511, allocations: 8 kB / 489.4 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.3511, allocations: 7.984 kB / 489.4 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/0.3602, allocations: 5.174 MB / 494.6 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.3603, allocations: 0 / 494.6 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.3618, allocations: 231.6 kB / 494.8 MB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/0.3643, allocations: 460.8 kB / 495.2 MB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.3645, allocations: 31.98 kB / 495.3 MB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007073/0.3716, allocations: 4.289 MB / 499.6 MB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3716, allocations: 8.062 kB / 499.6 MB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006913/0.3785, allocations: 3.255 MB / 0.491 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/0.3795, allocations: 454.8 kB / 0.4915 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.3798, allocations: 27.98 kB / 0.4915 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009316/0.3807, allocations: 91.97 kB / 0.4916 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.3809, allocations: 100.7 kB / 0.4917 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.381, allocations: 39.98 kB / 0.4917 GB, free: 1.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001689/0.3827, allocations: 1.338 MB / 0.493 GB, free: 15.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3827, allocations: 0 / 0.493 GB, free: 15.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001467/0.3842, allocations: 0.5586 MB / 0.4936 GB, free: 15.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005161/0.3847, allocations: 247 kB / 0.4938 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.3879, allocations: 2.187 MB / 0.4959 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3879, allocations: 0 / 0.4959 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.3897, allocations: 1.22 MB / 0.4971 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.3915, allocations: 0.4988 MB / 0.4976 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.3996, allocations: 5.687 MB / 0.5032 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/0.4015, allocations: 2.366 MB / 0.5055 GB, free: 2.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.402, allocations: 143.4 kB / 0.5056 GB, free: 2.75 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.402, allocations: 4 kB / 0.5056 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Templates: time 0.2577/0.6597, allocations: 51.51 MB / 0.5559 GB, free: 124.8 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches