Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 104.3 kB / 17.16 MB, free: 6.316 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.001441/0.001441, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 51.92 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09744, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03171/0.1292, allocations: 28.99 MB / 355.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.145, allocations: 7.348 MB / 362.9 MB, free: 400 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00559/0.1506, allocations: 211.3 kB / 363.1 MB, free: 188 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02735/0.178, allocations: 12.5 MB / 375.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.1904, allocations: 2.753 MB / 378.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1831/0.3735, allocations: 1.759 MB / 380.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02282/0.3964, allocations: 18.48 MB / 398.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06482/0.4612, allocations: 37.37 MB / 436 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01972/0.481, allocations: 9.005 MB / 445 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02201/0.503, allocations: 11.12 MB / 456.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007234/0.5103, allocations: 2.098 MB / 458.2 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.5224, allocations: 2.344 MB / 460.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009257/0.5317, allocations: 4.864 MB / 465.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02513/0.5568, allocations: 10.29 MB / 475.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04298/0.5999, allocations: 38.89 MB / 0.5026 GB, free: 1.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5999, allocations: 0 / 0.5026 GB, free: 1.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5999, allocations: 0 / 0.5026 GB, free: 1.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001019/0.6009, allocations: 0 / 0.5026 GB, free: 1.977 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0729/0.6739, allocations: 22.98 MB / 0.525 GB, free: 11.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6739, allocations: 8.031 kB / 0.525 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3948/1.069, allocations: 12.28 MB / 0.537 GB, free: 128.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02705/1.096, allocations: 10.54 MB / 0.5473 GB, free: 124.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00263/1.099, allocations: 1.399 MB / 0.5487 GB, free: 123.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008959/1.107, allocations: 1.828 MB / 0.5504 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07915/1.187, allocations: 30.89 MB / 0.5806 GB, free: 108.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008373/1.188, allocations: 23.83 kB / 0.5806 GB, free: 108.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006337/1.194, allocations: 0.7605 MB / 0.5814 GB, free: 107.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008772/1.195, allocations: 0.9841 MB / 0.5823 GB, free: 106.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05459/1.249, allocations: 27.91 MB / 0.6096 GB, free: 78.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1532/1.403, allocations: 94.37 MB / 0.7017 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3846/1.787, allocations: 53.42 MB / 0.7539 GB, free: 95.73 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01104/1.798, allocations: 5.925 MB / 0.7597 GB, free: 95.66 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02897/1.827, allocations: 16.85 MB / 0.7762 GB, free: 87.54 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/1.827, allocations: 85.05 kB / 0.7762 GB, free: 87.46 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 5.581e-06/1.827, allocations: 0 / 0.7762 GB, free: 87.46 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03005/1.858, allocations: 13.42 MB / 0.7893 GB, free: 83.43 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.858, allocations: 121.3 kB / 0.7895 GB, free: 83.34 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.868, allocations: 7.493 MB / 0.7968 GB, free: 80.7 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0006994/1.869, allocations: 94.83 kB / 0.7969 GB, free: 80.62 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005122/1.874, allocations: 8.521 MB / 0.8052 GB, free: 74.22 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0023/1.876, allocations: 1.591 MB / 0.8067 GB, free: 73.04 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003748/1.88, allocations: 2.294 MB / 0.809 GB, free: 71.92 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/1.88, allocations: 301.1 kB / 0.8093 GB, free: 71.62 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/1.886, allocations: 4.783 MB / 0.8139 GB, free: 69.91 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008702/1.895, allocations: 10.48 MB / 0.8242 GB, free: 60.47 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01709/1.912, allocations: 16.15 MB / 0.8399 GB, free: 46.07 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002374/1.912, allocations: 56 kB / 0.84 GB, free: 46.02 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02772/1.94, allocations: 16.16 MB / 0.8558 GB, free: 29.77 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.94, allocations: 88 kB / 0.8559 GB, free: 29.69 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003243/1.94, allocations: 199.9 kB / 0.8561 GB, free: 29.49 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005627/1.946, allocations: 1.703 MB / 0.8577 GB, free: 27.79 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008616/1.955, allocations: 2.503 MB / 0.8602 GB, free: 25.28 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.967, allocations: 10.77 MB / 0.8707 GB, free: 14.38 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009936/1.977, allocations: 1.571 MB / 0.8722 GB, free: 12.8 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/1.979, allocations: 0.5976 MB / 0.8728 GB, free: 12.2 MB / 478.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * 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.01197/1.991, allocations: 7.394 MB / 0.88 GB, free: 4.789 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.993, allocations: 0.6287 MB / 0.8806 GB, free: 4.152 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/2.006, allocations: 8.261 MB / 0.8887 GB, free: 11.87 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01085/2.017, allocations: 6.65 MB / 0.8952 GB, free: 5.199 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/2.017, allocations: 12 kB / 0.8952 GB, free: 5.188 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/2.017, allocations: 19.92 kB / 0.8952 GB, free: 5.168 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2771/2.294, allocations: 21.01 MB / 0.9157 GB, free: 141 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/2.294, allocations: 1.125 kB / 0.9157 GB, free: 141 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003301/2.297, allocations: 0.7692 MB / 0.9165 GB, free: 140.9 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/2.302, allocations: 1.45 MB / 0.9179 GB, free: 140.7 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005947/2.303, allocations: 99.41 kB / 0.918 GB, free: 140.6 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/2.315, allocations: 10.41 MB / 0.9282 GB, free: 135.2 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/2.315, allocations: 3.969 kB / 0.9282 GB, free: 135.2 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/2.331, allocations: 11.97 MB / 0.9399 GB, free: 130.5 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/2.334, allocations: 1.33 MB / 0.9412 GB, free: 129.7 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/2.335, allocations: 82.17 kB / 0.9413 GB, free: 129.7 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/2.337, allocations: 301.7 kB / 0.9415 GB, free: 129.6 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007068/2.338, allocations: 303.6 kB / 0.9418 GB, free: 129.6 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/2.338, allocations: 122.3 kB / 0.9419 GB, free: 129.5 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.007541/2.346, allocations: 4.93 MB / 0.9468 GB, free: 127.8 MB / 494.3 MB Notification: Performance of sort global known variables: time 2.3e-07/2.346, allocations: 1.875 kB / 0.9468 GB, free: 127.8 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01185/2.358, allocations: 4.184 MB / 0.9508 GB, free: 126.5 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (387): * Single equations (assignments): 378 * 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 Backend phase and start with SimCode phase: time 0.001022/2.359, allocations: 275.2 kB / 0.9511 GB, free: 126.3 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.0151/2.374, allocations: 11.14 MB / 0.962 GB, free: 122.1 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.374, allocations: 0 / 0.962 GB, free: 122.1 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.006201/2.38, allocations: 4.026 MB / 0.9659 GB, free: 118.8 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007969/2.388, allocations: 1.454 MB / 0.9673 GB, free: 117.6 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/2.433, allocations: 37.61 MB / 1.004 GB, free: 82.97 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01248/2.445, allocations: 11.61 MB / 1.015 GB, free: 71.73 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01236/2.458, allocations: 3.976 MB / 1.019 GB, free: 67.75 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/2.46, allocations: 0.5072 MB / 1.02 GB, free: 67.24 MB / 494.3 MB Notification: Performance of SimCode: time 1.212e-06/2.46, allocations: 0 / 1.02 GB, free: 67.24 MB / 494.3 MB Notification: Performance of Templates: time 0.3635/2.824, allocations: 96.23 MB / 1.114 GB, free: 108.8 MB / 494.3 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches