Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007828/0.0007828, allocations: 99.56 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001959/0.0001959, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1768, allocations: 51.42 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01644/0.1933, allocations: 24.93 MB / 437 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2068, allocations: 8.665 MB / 445.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00452/0.2114, allocations: 235.3 kB / 445.9 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005/0.2164, allocations: 1.96 MB / 447.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009151/0.2256, allocations: 2.54 MB / 450.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.232, allocations: 2.574 MB / 453 MB, free: 268 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01954/0.2516, allocations: 17.62 MB / 470.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3858/0.6374, allocations: 54.22 MB / 0.5125 GB, free: 32.4 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009253/0.6467, allocations: 7.013 MB / 0.5193 GB, free: 31.56 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/0.658, allocations: 8.168 MB / 0.5273 GB, free: 29.79 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.6618, allocations: 1.145 MB / 0.5284 GB, free: 29.79 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005026/0.6668, allocations: 1.409 MB / 0.5298 GB, free: 29.79 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003158/0.67, allocations: 3.269 MB / 0.533 GB, free: 29.18 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01032/0.6804, allocations: 8.389 MB / 0.5412 GB, free: 26.71 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02585/0.7062, allocations: 36.67 MB / 0.577 GB, free: 14.77 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7063, allocations: 0 / 0.577 GB, free: 14.77 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7063, allocations: 4 kB / 0.577 GB, free: 14.77 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0009825/0.7073, allocations: 4 kB / 0.577 GB, free: 14.77 MB / 394.8 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.04632/0.7536, allocations: 18.08 MB / 0.5947 GB, free: 14.64 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7537, allocations: 8.031 kB / 0.5947 GB, free: 14.63 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0408/0.7945, allocations: 8.395 MB / 0.6029 GB, free: 6.742 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02151/0.816, allocations: 11.31 MB / 0.6139 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/0.8174, allocations: 1.332 MB / 0.6152 GB, free: 11.13 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006035/0.8234, allocations: 1.745 MB / 0.6169 GB, free: 9.398 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06711/0.8906, allocations: 28.62 MB / 0.6449 GB, free: 12.73 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006087/0.8912, allocations: 23.36 kB / 0.6449 GB, free: 12.71 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004442/0.8957, allocations: 0.7277 MB / 0.6456 GB, free: 12 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007478/0.8964, allocations: 0.8609 MB / 0.6465 GB, free: 11.13 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3762/1.273, allocations: 24.68 MB / 0.6706 GB, free: 128.6 MB / 474.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1088/1.381, allocations: 88.66 MB / 0.7571 GB, free: 71.98 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.4, allocations: 35.14 MB / 0.7915 GB, free: 33.55 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006547/1.407, allocations: 5.356 MB / 0.7967 GB, free: 28.18 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/1.407, allocations: 290.1 kB / 0.797 GB, free: 27.88 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.407, allocations: 99.06 kB / 0.7971 GB, free: 27.77 MB / 474.9 MB Notification: Performance of pre-optimization done (n=589): time 7.244e-06/1.408, allocations: 0 / 0.7971 GB, free: 27.77 MB / 474.9 MB Notification: Performance of matching and sorting (n=589): time 0.02682/1.434, allocations: 14.8 MB / 0.8115 GB, free: 12.86 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.434, allocations: 141.6 kB / 0.8116 GB, free: 12.7 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007214/1.442, allocations: 6.366 MB / 0.8179 GB, free: 6.359 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0003379/1.442, allocations: 121.7 kB / 0.818 GB, free: 6.234 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003055/1.445, allocations: 7.596 MB / 0.8254 GB, free: 14.6 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.447, allocations: 2.043 MB / 0.8274 GB, free: 12.57 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/1.447, allocations: 212 kB / 0.8276 GB, free: 12.36 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.0005274/1.448, allocations: 0.744 MB / 0.8283 GB, free: 11.61 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006607/1.454, allocations: 4.767 MB / 0.833 GB, free: 6.84 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009281/1.464, allocations: 9.508 MB / 0.8423 GB, free: 11.08 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/1.481, allocations: 15.4 MB / 0.8573 GB, free: 9.375 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.482, allocations: 48 kB / 0.8573 GB, free: 9.328 MB / 0.5106 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.2293/1.711, allocations: 15.46 MB / 0.8724 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.711, allocations: 71.06 kB / 0.8725 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003415/1.712, allocations: 162 kB / 0.8727 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/1.717, allocations: 1.658 MB / 0.8743 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007805/1.725, allocations: 2.348 MB / 0.8766 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.738, allocations: 10.84 MB / 0.8872 GB, free: 158.3 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0068/1.745, allocations: 1.351 MB / 0.8885 GB, free: 157.8 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009973/1.746, allocations: 0.5307 MB / 0.889 GB, free: 157.7 MB / 0.5106 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.009894/1.755, allocations: 7.155 MB / 0.896 GB, free: 154.6 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009883/1.756, allocations: 0.6169 MB / 0.8966 GB, free: 154.5 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.769, allocations: 10.25 MB / 0.9066 GB, free: 150.3 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00924/1.779, allocations: 7.892 MB / 0.9143 GB, free: 146.8 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.779, allocations: 15.38 kB / 0.9143 GB, free: 146.8 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-05/1.779, allocations: 30.94 kB / 0.9143 GB, free: 146.8 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03535/1.814, allocations: 26.44 MB / 0.9402 GB, free: 124.6 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.814, allocations: 12.06 kB / 0.9402 GB, free: 124.5 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/1.818, allocations: 1.004 MB / 0.9412 GB, free: 123.7 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/1.822, allocations: 1.473 MB / 0.9426 GB, free: 122.5 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003614/1.823, allocations: 124 kB / 0.9427 GB, free: 122.4 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.834, allocations: 10.41 MB / 0.9529 GB, free: 111.8 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.834, allocations: 8 kB / 0.9529 GB, free: 111.8 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.85, allocations: 14.32 MB / 0.9669 GB, free: 97.13 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.853, allocations: 1.46 MB / 0.9683 GB, free: 95.64 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007603/1.853, allocations: 116 kB / 0.9684 GB, free: 95.53 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.856, allocations: 315.6 kB / 0.9687 GB, free: 95.22 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007351/1.857, allocations: 408.4 kB / 0.9691 GB, free: 94.82 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003038/1.857, allocations: 168 kB / 0.9693 GB, free: 94.66 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.005227/1.862, allocations: 4.262 MB / 0.9734 GB, free: 90.43 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.862, allocations: 0 / 0.9734 GB, free: 90.43 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.009212/1.871, allocations: 4.034 MB / 0.9774 GB, free: 86.38 MB / 0.5106 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.0009044/1.872, allocations: 344.1 kB / 0.9777 GB, free: 86.05 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.886, allocations: 11.45 MB / 0.9889 GB, free: 74.56 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.886, allocations: 0 / 0.9889 GB, free: 74.56 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.005729/1.892, allocations: 4.716 MB / 0.9935 GB, free: 69.82 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/1.904, allocations: 1.474 MB / 0.9949 GB, free: 68.35 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0451/1.949, allocations: 36.86 MB / 1.031 GB, free: 31.31 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/1.959, allocations: 11.26 MB / 1.042 GB, free: 20.01 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.008946/1.968, allocations: 3.77 MB / 1.046 GB, free: 16.23 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.97, allocations: 0.515 MB / 1.046 GB, free: 15.71 MB / 0.5106 GB Notification: Performance of SimCode: time 7.31e-07/1.97, allocations: 0 / 1.046 GB, free: 15.71 MB / 0.5106 GB Notification: Performance of Templates: time 0.3487/2.319, allocations: 99.27 MB / 1.143 GB, free: 91.3 MB / 0.5106 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","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches