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.001289/0.001289, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 60.08 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.22, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02697/0.247, allocations: 28.63 MB / 438.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.2613, allocations: 7.191 MB / 445.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004729/0.2661, allocations: 263.2 kB / 446 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02783/0.294, allocations: 13.09 MB / 459.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008808/0.3028, allocations: 2.535 MB / 461.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.3085, allocations: 2.025 MB / 463.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01956/0.3281, allocations: 18.27 MB / 481.9 MB, free: 9.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06586/0.394, allocations: 44.45 MB / 0.514 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.4076, allocations: 9.961 MB / 0.5238 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0156/0.4233, allocations: 11.05 MB / 0.5346 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006551/0.4299, allocations: 2.922 MB / 0.5374 GB, free: 4.688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009103/0.439, allocations: 3.199 MB / 0.5405 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3778/0.8168, allocations: 5.475 MB / 0.5459 GB, free: 59.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01813/0.835, allocations: 10.81 MB / 0.5564 GB, free: 58.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02729/0.8623, allocations: 39.02 MB / 0.5946 GB, free: 38.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8623, allocations: 0.7812 kB / 0.5946 GB, free: 38.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8623, allocations: 0 / 0.5946 GB, free: 38.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008104/0.8632, allocations: 0 / 0.5946 GB, free: 38.56 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.05512/0.9183, allocations: 21.94 MB / 0.616 GB, free: 25.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.9183, allocations: 7.219 kB / 0.616 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0422/0.9605, allocations: 8.36 MB / 0.6242 GB, free: 17.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02351/0.9841, allocations: 11.62 MB / 0.6355 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/0.9852, allocations: 1.342 MB / 0.6368 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00542/0.9906, allocations: 1.754 MB / 0.6385 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0673/1.058, allocations: 28.71 MB / 0.6666 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007752/1.059, allocations: 19.89 kB / 0.6666 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005265/1.064, allocations: 0.7251 MB / 0.6673 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008524/1.065, allocations: 0.8453 MB / 0.6681 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0519/1.117, allocations: 24.78 MB / 0.6923 GB, free: 11.76 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3719/1.489, allocations: 87.27 MB / 0.7776 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/1.509, allocations: 35.13 MB / 0.8119 GB, free: 116.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006988/1.516, allocations: 5.442 MB / 0.8172 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/1.516, allocations: 285.9 kB / 0.8174 GB, free: 116 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/1.516, allocations: 93.98 kB / 0.8175 GB, free: 116 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.824e-06/1.516, allocations: 5.625 kB / 0.8175 GB, free: 116 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02777/1.544, allocations: 14.73 MB / 0.8319 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.544, allocations: 137.9 kB / 0.8321 GB, free: 115 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007766/1.552, allocations: 6.419 MB / 0.8383 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005443/1.553, allocations: 115.6 kB / 0.8384 GB, free: 113.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003227/1.556, allocations: 7.609 MB / 0.8459 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.557, allocations: 2.01 MB / 0.8478 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002504/1.56, allocations: 2.085 MB / 0.8499 GB, free: 104 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.413e-05/1.56, allocations: 305.1 kB / 0.8502 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005366/1.565, allocations: 4.738 MB / 0.8548 GB, free: 101.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/1.572, allocations: 9.467 MB / 0.864 GB, free: 92.16 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/1.587, allocations: 15.31 MB / 0.879 GB, free: 75.24 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/1.587, allocations: 44 kB / 0.879 GB, free: 75.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02055/1.607, allocations: 15.37 MB / 0.894 GB, free: 59.73 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/1.607, allocations: 76.56 kB / 0.8941 GB, free: 59.66 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/1.608, allocations: 160 kB / 0.8943 GB, free: 59.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/1.613, allocations: 1.66 MB / 0.8959 GB, free: 57.84 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.619, allocations: 2.351 MB / 0.8982 GB, free: 55.48 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.631, allocations: 11.6 MB / 0.9095 GB, free: 43.76 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006712/1.638, allocations: 1.347 MB / 0.9108 GB, free: 42.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.639, allocations: 0.535 MB / 0.9113 GB, free: 41.87 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.009422/1.649, allocations: 7.145 MB / 0.9183 GB, free: 34.7 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.65, allocations: 0.6133 MB / 0.9189 GB, free: 34.08 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.663, allocations: 10.1 MB / 0.9288 GB, free: 23.87 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-05/1.663, allocations: 31.83 kB / 0.9288 GB, free: 23.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.663, allocations: 0 / 0.9288 GB, free: 23.84 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002801/1.666, allocations: 1.448 MB / 0.9302 GB, free: 22.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008191/1.667, allocations: 96 kB / 0.9303 GB, free: 22.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.669, allocations: 311.6 kB / 0.9306 GB, free: 21.96 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/1.67, allocations: 396.1 kB / 0.931 GB, free: 21.57 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01216/1.682, allocations: 9.034 MB / 0.9398 GB, free: 12.56 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01277/1.695, allocations: 12.01 MB / 0.9515 GB, free: 428 kB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004482/1.699, allocations: 3.683 MB / 0.9551 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006598/1.706, allocations: 4.305 MB / 0.9593 GB, free: 8.434 MB / 0.5763 GB Notification: Performance of Backend: time 3.61e-07/1.706, allocations: 0 / 0.9593 GB, free: 8.434 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2074/1.913, allocations: 8.469 MB / 0.9676 GB, free: 214.3 MB / 0.5763 GB Notification: Performance of SimCode: time 0.04706/1.96, allocations: 27.9 MB / 0.9949 GB, free: 205.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.1627/2.123, allocations: 114 MB / 1.106 GB, free: 106.4 MB / 0.5763 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/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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches