Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001069, allocations: 122.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.22, allocations: 50.55 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009492/0.2295, allocations: 7.787 MB / 417.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.2342, allocations: 2.718 MB / 420.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.2354, allocations: 67.69 kB / 420.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.237, allocations: 0.5818 MB / 421.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.2391, allocations: 0.7575 MB / 421.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009753/0.2401, allocations: 411.4 kB / 422.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.2432, allocations: 3.288 MB / 425.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/0.2466, allocations: 3.592 MB / 429.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.2491, allocations: 1.683 MB / 430.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.2514, allocations: 2.024 MB / 432.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.252, allocations: 464 kB / 433.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.253, allocations: 0.6559 MB / 433.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009926/0.254, allocations: 1.239 MB / 435.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.2558, allocations: 1.968 MB / 437.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00474/0.2605, allocations: 6.1 MB / 443.3 MB, free: 160 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2605, allocations: 0 / 443.3 MB, free: 160 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2606, allocations: 0 / 443.3 MB, free: 160 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.936e-05/0.2606, allocations: 0 / 443.3 MB, free: 160 kB / 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.006718/0.2673, allocations: 3.81 MB / 447.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2674, allocations: 8.031 kB / 447.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.2687, allocations: 428.5 kB / 447.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.2723, allocations: 2.178 MB / 449.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.2725, allocations: 225.8 kB / 449.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.2729, allocations: 284 kB / 450.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006391/0.2793, allocations: 4.187 MB / 454.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.2793, allocations: 0 / 454.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.2796, allocations: 120 kB / 454.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.2798, allocations: 145.8 kB / 454.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005432/0.2852, allocations: 3.493 MB / 458.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.3017, allocations: 10.76 MB / 468.9 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.3044, allocations: 2.642 MB / 471.5 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.3069, allocations: 1.497 MB / 473 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.3072, allocations: 122 kB / 473.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.3073, allocations: 47.56 kB / 473.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 5.28e-06/0.3073, allocations: 0 / 473.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008602/0.3159, allocations: 5.172 MB / 478.3 MB, free: 12.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.316, allocations: 90.42 kB / 478.4 MB, free: 12.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.3185, allocations: 1.922 MB / 480.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3187, allocations: 49.7 kB / 480.4 MB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008828/0.3196, allocations: 1.318 MB / 481.7 MB, free: 8.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.3199, allocations: 457.4 kB / 482.2 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004174/0.3203, allocations: 271.4 kB / 482.4 MB, free: 8.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.3204, allocations: 313 kB / 482.7 MB, free: 7.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.3216, allocations: 0.812 MB / 483.5 MB, free: 7.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.3231, allocations: 1.182 MB / 484.7 MB, free: 5.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.3257, allocations: 2.082 MB / 486.8 MB, free: 3.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3258, allocations: 4 kB / 486.8 MB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003911/0.3297, allocations: 2.526 MB / 489.3 MB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3297, allocations: 12 kB / 489.4 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3297, allocations: 8 kB / 489.4 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.3315, allocations: 483 kB / 489.8 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.3328, allocations: 331.5 kB / 490.2 MB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/0.3379, allocations: 4.391 MB / 494.6 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3392, allocations: 83.84 kB / 494.6 MB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.3393, allocations: 68.03 kB / 494.7 MB, free: 11.52 MB / 414.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.001541/0.3409, allocations: 1.063 MB / 495.8 MB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.3413, allocations: 189.7 kB / 495.9 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.3447, allocations: 2.149 MB / 498.1 MB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.3447, allocations: 7.969 kB / 498.1 MB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3447, allocations: 4 kB / 498.1 MB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009216/0.3457, allocations: 458.8 kB / 498.6 MB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.3459, allocations: 20 kB / 498.6 MB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.3469, allocations: 91.84 kB / 498.7 MB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.3471, allocations: 101.1 kB / 498.8 MB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004373/0.3515, allocations: 2.274 MB / 0.4893 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004235/0.3558, allocations: 3.114 MB / 0.4923 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001169/0.357, allocations: 0.8846 MB / 0.4932 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.3589, allocations: 1.342 MB / 0.4945 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Backend: time 5.91e-07/0.359, allocations: 0 / 0.4945 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.3626, allocations: 1.659 MB / 0.4961 GB, free: 14.08 MB / 430.1 MB Notification: Performance of SimCode: time 0.00875/0.3713, allocations: 5.822 MB / 0.5018 GB, free: 8.203 MB / 430.1 MB Notification: Performance of Templates: time 0.05343/0.4248, allocations: 33.24 MB / 0.5343 GB, free: 7.23 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches