Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 114.3 kB / 17.75 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.001088/0.001088, allocations: 189.3 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2361, allocations: 49.44 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02698/0.2631, allocations: 28.62 MB / 430 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.2767, allocations: 7.117 MB / 437.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/0.2815, allocations: 267.2 kB / 437.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02775/0.3093, allocations: 13.13 MB / 450.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.3194, allocations: 2.733 MB / 453.3 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.3253, allocations: 1.839 MB / 455.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02116/0.3464, allocations: 18.1 MB / 473.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06778/0.4143, allocations: 44.45 MB / 0.5055 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01313/0.4274, allocations: 9.96 MB / 0.5153 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.4429, allocations: 11.05 MB / 0.5261 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006616/0.4495, allocations: 2.922 MB / 0.5289 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009301/0.4589, allocations: 3.164 MB / 0.532 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007814/0.4667, allocations: 5.483 MB / 0.5374 GB, free: 3.535 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3877/0.8544, allocations: 10.82 MB / 0.5479 GB, free: 59.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02947/0.8839, allocations: 39 MB / 0.586 GB, free: 45.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8839, allocations: 3.406 kB / 0.586 GB, free: 45.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8839, allocations: 0 / 0.586 GB, free: 45.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009528/0.8849, allocations: 0 / 0.586 GB, free: 45.18 MB / 462.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.05491/0.9398, allocations: 21.93 MB / 0.6074 GB, free: 31.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.9399, allocations: 11.48 kB / 0.6074 GB, free: 31.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04151/0.9814, allocations: 8.328 MB / 0.6156 GB, free: 25.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02241/1.004, allocations: 11.62 MB / 0.6269 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007937/1.005, allocations: 1.346 MB / 0.6282 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005404/1.01, allocations: 1.755 MB / 0.6299 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06414/1.074, allocations: 28.71 MB / 0.658 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005388/1.075, allocations: 19.89 kB / 0.658 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005128/1.08, allocations: 0.7333 MB / 0.6587 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007802/1.081, allocations: 0.8415 MB / 0.6595 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05157/1.132, allocations: 24.78 MB / 0.6837 GB, free: 3.73 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3599/1.492, allocations: 86.86 MB / 0.7686 GB, free: 119.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02169/1.514, allocations: 35.12 MB / 0.8028 GB, free: 91.62 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/1.522, allocations: 5.442 MB / 0.8082 GB, free: 91.52 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/1.522, allocations: 205.6 kB / 0.8084 GB, free: 91.42 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/1.522, allocations: 96.08 kB / 0.8084 GB, free: 91.37 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.764e-06/1.522, allocations: 0 / 0.8084 GB, free: 91.37 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02985/1.552, allocations: 14.73 MB / 0.8228 GB, free: 90.57 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.552, allocations: 136.8 kB / 0.823 GB, free: 90.46 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007965/1.56, allocations: 6.417 MB / 0.8292 GB, free: 90.06 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008383/1.561, allocations: 122.3 kB / 0.8293 GB, free: 90.03 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00304/1.564, allocations: 7.616 MB / 0.8368 GB, free: 85.25 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.566, allocations: 2.013 MB / 0.8387 GB, free: 83.82 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002662/1.568, allocations: 2.088 MB / 0.8408 GB, free: 83.48 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.511e-05/1.568, allocations: 301.1 kB / 0.8411 GB, free: 83.18 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005607/1.574, allocations: 4.736 MB / 0.8457 GB, free: 82.36 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007149/1.581, allocations: 9.466 MB / 0.8549 GB, free: 73.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/1.596, allocations: 15.3 MB / 0.8699 GB, free: 57.24 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/1.597, allocations: 44 kB / 0.8699 GB, free: 57.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02443/1.621, allocations: 15.39 MB / 0.885 GB, free: 42.71 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/1.621, allocations: 72 kB / 0.885 GB, free: 42.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.622, allocations: 160 kB / 0.8852 GB, free: 42.48 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/1.627, allocations: 1.657 MB / 0.8868 GB, free: 40.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008089/1.635, allocations: 2.353 MB / 0.8891 GB, free: 38.65 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/1.649, allocations: 11.6 MB / 0.9004 GB, free: 27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007897/1.656, allocations: 1.347 MB / 0.9017 GB, free: 25.64 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.658, allocations: 0.5273 MB / 0.9022 GB, free: 25.11 MB / 0.5607 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 prepare postOptimizeDAE: time 0.01099/1.669, allocations: 7.142 MB / 0.9092 GB, free: 18.14 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.67, allocations: 0.6185 MB / 0.9098 GB, free: 17.51 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.685, allocations: 10.1 MB / 0.9197 GB, free: 7.348 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-05/1.685, allocations: 27.89 kB / 0.9197 GB, free: 7.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.685, allocations: 4 kB / 0.9197 GB, free: 7.316 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/1.688, allocations: 1.437 MB / 0.9211 GB, free: 5.852 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.689, allocations: 96 kB / 0.9212 GB, free: 5.758 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/1.692, allocations: 323.6 kB / 0.9215 GB, free: 5.441 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006713/1.693, allocations: 396.1 kB / 0.9219 GB, free: 5.051 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0142/1.707, allocations: 9.035 MB / 0.9307 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01652/1.724, allocations: 12.01 MB / 0.9424 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004713/1.728, allocations: 3.679 MB / 0.946 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008384/1.737, allocations: 4.305 MB / 0.9502 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of Backend: time 4.51e-07/1.737, allocations: 0 / 0.9502 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.752, allocations: 8.464 MB / 0.9585 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of SimCode: time 0.2381/1.991, allocations: 27.91 MB / 0.9858 GB, free: 243 MB / 0.6075 GB Notification: Performance of Templates: time 0.1576/2.148, allocations: 113.8 MB / 1.097 GB, free: 153.4 MB / 0.6075 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches