Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007779/0.0007782, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000863/0.000863, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.8 MB / 246.8 MB, free: 9.652 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 4 kB / 307.7 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.09959, allocations: 51.53 MB / 359.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1994/0.2991, allocations: 26.74 MB / 386 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.3134, allocations: 7.09 MB / 393.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005386/0.3188, allocations: 247.9 kB / 393.3 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005389/0.3242, allocations: 1.96 MB / 395.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009218/0.3335, allocations: 2.249 MB / 397.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.3391, allocations: 1.883 MB / 399.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02336/0.3625, allocations: 17.59 MB / 417 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08448/0.447, allocations: 43.61 MB / 460.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/0.4591, allocations: 6.788 MB / 467.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.4719, allocations: 8.13 MB / 475.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/0.4756, allocations: 1.141 MB / 476.7 MB, free: 5.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.4827, allocations: 1.425 MB / 478.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005198/0.4879, allocations: 3.269 MB / 481.4 MB, free: 1.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01402/0.502, allocations: 8.395 MB / 489.8 MB, free: 8.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03655/0.5386, allocations: 36.67 MB / 0.5141 GB, free: 3.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5386, allocations: 0 / 0.5141 GB, free: 3.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5386, allocations: 0 / 0.5141 GB, free: 3.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001069/0.5397, allocations: 0 / 0.5141 GB, free: 3.984 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.04947/0.5892, allocations: 18.09 MB / 0.5318 GB, free: 1.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5893, allocations: 8.031 kB / 0.5318 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4056/0.9948, allocations: 8.389 MB / 0.54 GB, free: 115.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02289/1.018, allocations: 11.29 MB / 0.551 GB, free: 110.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/1.02, allocations: 1.339 MB / 0.5523 GB, free: 109.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006232/1.026, allocations: 1.754 MB / 0.554 GB, free: 109.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06054/1.086, allocations: 28.76 MB / 0.5821 GB, free: 87.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006043/1.087, allocations: 19.81 kB / 0.5821 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004648/1.092, allocations: 0.7256 MB / 0.5828 GB, free: 86.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/1.092, allocations: 0.8655 MB / 0.5837 GB, free: 85.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04225/1.134, allocations: 24.83 MB / 0.6079 GB, free: 60.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/1.247, allocations: 88.66 MB / 0.6945 GB, free: 2.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3738/1.621, allocations: 35.16 MB / 0.7288 GB, free: 155.2 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009209/1.63, allocations: 5.344 MB / 0.7341 GB, free: 154.9 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/1.63, allocations: 286.2 kB / 0.7343 GB, free: 154.7 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/1.63, allocations: 95.69 kB / 0.7344 GB, free: 154.6 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=589): time 8.205e-06/1.63, allocations: 0 / 0.7344 GB, free: 154.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=589): time 0.03321/1.664, allocations: 14.86 MB / 0.7489 GB, free: 150 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/1.664, allocations: 140.9 kB / 0.7491 GB, free: 149.9 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008567/1.672, allocations: 6.421 MB / 0.7553 GB, free: 147.7 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0006812/1.673, allocations: 118.3 kB / 0.7555 GB, free: 147.6 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.003168/1.676, allocations: 7.598 MB / 0.7629 GB, free: 142.1 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.678, allocations: 2.042 MB / 0.7649 GB, free: 140.6 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000965/1.679, allocations: 0.8163 MB / 0.7657 GB, free: 140.2 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/1.679, allocations: 308.9 kB / 0.766 GB, free: 139.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005848/1.685, allocations: 4.811 MB / 0.7707 GB, free: 138.2 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007582/1.692, allocations: 9.551 MB / 0.78 GB, free: 130.1 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/1.706, allocations: 15.46 MB / 0.7951 GB, free: 118.9 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.707, allocations: 44.47 kB / 0.7951 GB, free: 118.9 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.01984/1.726, allocations: 15.54 MB / 0.8103 GB, free: 105.9 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/1.727, allocations: 79.94 kB / 0.8104 GB, free: 105.8 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/1.727, allocations: 160.6 kB / 0.8105 GB, free: 105.6 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/1.732, allocations: 1.669 MB / 0.8122 GB, free: 104 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00713/1.739, allocations: 2.347 MB / 0.8145 GB, free: 101.6 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.751, allocations: 10.87 MB / 0.8251 GB, free: 90.64 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007266/1.758, allocations: 1.347 MB / 0.8264 GB, free: 89.28 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/1.76, allocations: 0.5351 MB / 0.8269 GB, free: 88.74 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009754/1.769, allocations: 7.145 MB / 0.8339 GB, free: 81.58 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.771, allocations: 0.6056 MB / 0.8345 GB, free: 80.96 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.786, allocations: 10.29 MB / 0.8445 GB, free: 70.57 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01035/1.796, allocations: 7.931 MB / 0.8523 GB, free: 62.56 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/1.796, allocations: 12 kB / 0.8523 GB, free: 62.55 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.888e-05/1.796, allocations: 35.86 kB / 0.8523 GB, free: 62.51 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03811/1.834, allocations: 26.49 MB / 0.8782 GB, free: 35.51 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.834, allocations: 8.188 kB / 0.8782 GB, free: 35.5 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003654/1.838, allocations: 1.01 MB / 0.8792 GB, free: 34.49 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004961/1.843, allocations: 1.461 MB / 0.8806 GB, free: 33.02 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003349/1.843, allocations: 128.8 kB / 0.8807 GB, free: 32.9 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.855, allocations: 10.44 MB / 0.8909 GB, free: 22.34 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/1.855, allocations: 17 kB / 0.8909 GB, free: 22.33 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.871, allocations: 14.38 MB / 0.905 GB, free: 7.586 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/1.874, allocations: 1.46 MB / 0.9064 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007697/1.875, allocations: 108.1 kB / 0.9065 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.878, allocations: 327.6 kB / 0.9068 GB, free: 5.672 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007048/1.878, allocations: 404.4 kB / 0.9072 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003082/1.879, allocations: 168 kB / 0.9074 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.2169/2.096, allocations: 4.306 MB / 0.9116 GB, free: 143.9 MB / 0.4983 GB Notification: Performance of sort global known variables: time 5.01e-07/2.096, allocations: 1.344 kB / 0.9116 GB, free: 143.9 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01233/2.108, allocations: 4.032 MB / 0.9155 GB, free: 143.5 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/2.109, allocations: 326 kB / 0.9158 GB, free: 143.4 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.127, allocations: 11.51 MB / 0.9271 GB, free: 140.3 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/2.127, allocations: 3.5 kB / 0.9271 GB, free: 140.3 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.005826/2.133, allocations: 4.737 MB / 0.9317 GB, free: 138.4 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/2.146, allocations: 1.482 MB / 0.9331 GB, free: 137.9 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04962/2.195, allocations: 36.88 MB / 0.9692 GB, free: 118 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0135/2.209, allocations: 11.26 MB / 0.9802 GB, free: 110.4 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01088/2.22, allocations: 3.774 MB / 0.9838 GB, free: 107.9 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/2.222, allocations: 0.5131 MB / 0.9843 GB, free: 107.4 MB / 0.4983 GB Notification: Performance of SimCode: time 9.62e-07/2.222, allocations: 0 / 0.9843 GB, free: 107.4 MB / 0.4983 GB Notification: Performance of Templates: time 0.1482/2.37, allocations: 99.22 MB / 1.081 GB, free: 11.42 MB / 0.4983 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches