Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008603/0.0008604, allocations: 100.4 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008413/0.0008414, allocations: 43.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1871, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006603/0.1937, allocations: 7.665 MB / 381.5 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.1976, allocations: 2.696 MB / 384.2 MB, free: 37.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007069/0.1983, allocations: 56.22 kB / 384.2 MB, free: 37.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009423/0.1993, allocations: 0.4892 MB / 384.7 MB, free: 37.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.2005, allocations: 0.6719 MB / 385.4 MB, free: 36.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.2011, allocations: 390.9 kB / 385.8 MB, free: 36.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00233/0.2034, allocations: 3.823 MB / 389.6 MB, free: 33.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.2055, allocations: 2.808 MB / 392.4 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.2075, allocations: 1.433 MB / 393.9 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.2089, allocations: 1.934 MB / 395.8 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.2093, allocations: 292 kB / 396.1 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.21, allocations: 0.519 MB / 396.6 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005782/0.2106, allocations: 1.056 MB / 397.6 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.2117, allocations: 1.781 MB / 399.4 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.2144, allocations: 5.9 MB / 405.3 MB, free: 17.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2145, allocations: 7.984 kB / 405.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.2145, allocations: 0 / 405.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.542e-05/0.2145, allocations: 0 / 405.3 MB, free: 17.86 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.005226/0.2197, allocations: 3.783 MB / 409.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2198, allocations: 11.97 kB / 409.1 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.2205, allocations: 388.6 kB / 409.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.2231, allocations: 1.952 MB / 411.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.2232, allocations: 225.8 kB / 411.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.2235, allocations: 288 kB / 412 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004638/0.2281, allocations: 4.179 MB / 416.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.2282, allocations: 0 / 416.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.2284, allocations: 124 kB / 416.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.2285, allocations: 141.9 kB / 416.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/0.2325, allocations: 3.49 MB / 419.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.247, allocations: 10.94 MB / 430.8 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/0.2495, allocations: 2.643 MB / 433.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.2517, allocations: 1.485 MB / 435 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.2519, allocations: 126.1 kB / 435.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2519, allocations: 47.56 kB / 435.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.252, allocations: 0 / 435.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.008107/0.2601, allocations: 5.274 MB / 440.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2601, allocations: 94.42 kB / 440.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.2624, allocations: 1.913 MB / 442.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.2625, allocations: 57.69 kB / 442.5 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007964/0.2633, allocations: 1.314 MB / 443.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.2636, allocations: 461.3 kB / 444.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.264, allocations: 271.4 kB / 444.5 MB, free: 9.941 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2641, allocations: 305.1 kB / 444.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.2653, allocations: 0.8159 MB / 445.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.2666, allocations: 1.187 MB / 446.8 MB, free: 7.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.2691, allocations: 2.091 MB / 448.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2691, allocations: 0 / 448.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003789/0.2729, allocations: 2.527 MB / 451.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2729, allocations: 8 kB / 451.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.273, allocations: 15.94 kB / 451.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.2746, allocations: 482.4 kB / 451.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2758, allocations: 339.5 kB / 452.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.2805, allocations: 4.062 MB / 456.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.2817, allocations: 91.81 kB / 456.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2818, allocations: 63.98 kB / 456.5 MB, free: 13.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.2832, allocations: 1.044 MB / 457.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.2836, allocations: 189.7 kB / 457.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.2867, allocations: 2.133 MB / 459.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.2868, allocations: 16 kB / 459.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2868, allocations: 4 kB / 459.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2868, allocations: 11.97 kB / 459.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007327/0.2941, allocations: 5.194 MB / 465 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.2942, allocations: 7.984 kB / 465 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009086/0.2951, allocations: 235.9 kB / 465.3 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.2967, allocations: 457 kB / 465.7 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.324e-05/0.2968, allocations: 31.98 kB / 465.8 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/0.3011, allocations: 3.959 MB / 469.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3011, allocations: 4 kB / 469.7 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/0.3212, allocations: 15.18 MB / 484.9 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/0.322, allocations: 458.7 kB / 485.3 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.3223, allocations: 32.06 kB / 485.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009072/0.3232, allocations: 96.03 kB / 485.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.3234, allocations: 92.72 kB / 485.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-05/0.3235, allocations: 51.86 kB / 485.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001644/0.3251, allocations: 1.338 MB / 487 MB, free: 14.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.353e-06/0.3251, allocations: 0 / 487 MB, free: 14.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001851/0.327, allocations: 0.7381 MB / 487.7 MB, free: 13.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000532/0.3275, allocations: 227.7 kB / 487.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003366/0.3309, allocations: 2.187 MB / 490.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3309, allocations: 0 / 490.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.3329, allocations: 1.22 MB / 491.3 MB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.3351, allocations: 495.2 kB / 491.8 MB, free: 9.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3456, allocations: 8.22 MB / 0.4883 GB, free: 1.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1376/0.4832, allocations: 2.457 MB / 0.4907 GB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001731/0.4849, allocations: 495.5 kB / 0.4912 GB, free: 105.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/0.4854, allocations: 135.4 kB / 0.4913 GB, free: 105.1 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4854, allocations: 3.531 kB / 0.4913 GB, free: 105.1 MB / 378.7 MB Notification: Performance of Templates: time 0.04276/0.5282, allocations: 32.54 MB / 0.5231 GB, free: 82.34 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches