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.001023/0.001023, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001006/0.001006, allocations: 192 kB / 18.63 MB, free: 4.375 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.279/1.279, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 46.64 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.0861, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008571/0.0947, allocations: 7.76 MB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.09886, allocations: 2.656 MB / 361.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.09944, allocations: 71.69 kB / 362 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1005, allocations: 0.5663 MB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.102, allocations: 0.7302 MB / 363.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.1027, allocations: 407.4 kB / 363.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.1055, allocations: 3.284 MB / 367 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/0.1089, allocations: 3.585 MB / 370.6 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1425/0.2514, allocations: 1.661 MB / 372.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.254, allocations: 2.035 MB / 374.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005856/0.2546, allocations: 460.9 kB / 374.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.2556, allocations: 0.669 MB / 375.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009516/0.2566, allocations: 1.239 MB / 376.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.2583, allocations: 1.969 MB / 378.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005215/0.2635, allocations: 6.105 MB / 384.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2636, allocations: 0.7812 kB / 384.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2636, allocations: 0 / 384.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001061/0.2637, allocations: 1.594 kB / 384.7 MB, free: 10.05 MB / 302.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.007086/0.2708, allocations: 3.795 MB / 388.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.2708, allocations: 9.344 kB / 388.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.2719, allocations: 387.8 kB / 388.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.2759, allocations: 2.162 MB / 391 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.2761, allocations: 220.9 kB / 391.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.2764, allocations: 289.9 kB / 391.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006241/0.2827, allocations: 4.192 MB / 395.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.2827, allocations: 0 / 395.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/0.283, allocations: 119.8 kB / 395.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.2831, allocations: 140.4 kB / 396 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.2877, allocations: 3.494 MB / 399.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.304, allocations: 10.75 MB / 410.2 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.3066, allocations: 2.64 MB / 412.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/0.3088, allocations: 1.479 MB / 414.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.309, allocations: 124.9 kB / 414.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3091, allocations: 51.5 kB / 414.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.887e-06/0.3091, allocations: 0 / 414.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.008518/0.3176, allocations: 5.168 MB / 419.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3177, allocations: 98.42 kB / 419.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.3202, allocations: 1.909 MB / 421.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.3203, allocations: 49.7 kB / 421.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008127/0.3211, allocations: 1.318 MB / 423.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.3214, allocations: 455.5 kB / 423.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004188/0.3219, allocations: 274.5 kB / 423.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.322, allocations: 301.1 kB / 424.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.3231, allocations: 0.8236 MB / 424.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3245, allocations: 1.18 MB / 426.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.3271, allocations: 2.085 MB / 428.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3271, allocations: 0 / 428.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003955/0.3311, allocations: 2.527 MB / 430.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3311, allocations: 12 kB / 430.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.3312, allocations: 8 kB / 430.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.333, allocations: 476.3 kB / 431.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.3344, allocations: 334.8 kB / 431.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/0.3398, allocations: 4.404 MB / 435.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.3413, allocations: 79.94 kB / 436 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.3415, allocations: 62.95 kB / 436 MB, free: 13.15 MB / 350.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.001647/0.3432, allocations: 1.058 MB / 437.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.3436, allocations: 189.8 kB / 437.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.347, allocations: 2.138 MB / 439.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/0.3471, allocations: 16 kB / 439.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3471, allocations: 4 kB / 439.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3471, allocations: 7.969 kB / 439.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/0.3556, allocations: 5.169 MB / 444.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3556, allocations: 4 kB / 444.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000985/0.3566, allocations: 231.4 kB / 444.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.3583, allocations: 452.3 kB / 445.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.64e-05/0.3584, allocations: 35.98 kB / 445.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.3635, allocations: 4.31 MB / 449.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3635, allocations: 0 / 449.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/0.3685, allocations: 3.257 MB / 452.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.3697, allocations: 450.8 kB / 453.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/0.3701, allocations: 31.92 kB / 453.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.3712, allocations: 95.66 kB / 453.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.3715, allocations: 104.1 kB / 453.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.3716, allocations: 43.98 kB / 453.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.3737, allocations: 1.33 MB / 454.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3737, allocations: 0 / 454.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001848/0.3755, allocations: 0.5546 MB / 455.5 MB, free: 9.527 MB / 366.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.0005323/0.3761, allocations: 236.7 kB / 455.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.3796, allocations: 2.19 MB / 457.9 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3796, allocations: 4 kB / 457.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.3814, allocations: 1.216 MB / 459.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.3838, allocations: 0.5047 MB / 459.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/0.3935, allocations: 5.691 MB / 465.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/0.3957, allocations: 2.427 MB / 467.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.397, allocations: 499.4 kB / 468.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.3974, allocations: 131.4 kB / 468.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3974, allocations: 0 / 468.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Templates: time 0.04868/0.4461, allocations: 30.22 MB / 498.6 MB, free: 14.82 MB / 414.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 -s gbode -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