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.00153/0.00153, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001652/0.001652, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.406/1.406, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001248/0.001248, allocations: 47.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08329, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1931/0.2764, allocations: 29.57 MB / 404.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.295, allocations: 7.428 MB / 412.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006922/0.302, allocations: 219.3 kB / 412.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03039/0.3324, allocations: 13.21 MB / 425.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.3447, allocations: 3.073 MB / 428.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006306/0.3511, allocations: 1.9 MB / 430.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02332/0.3744, allocations: 18.93 MB / 449.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07226/0.4467, allocations: 44.61 MB / 494.1 MB, free: 8.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/0.4629, allocations: 10.31 MB / 0.4926 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01929/0.4822, allocations: 11.53 MB / 0.5038 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008691/0.4909, allocations: 2.973 MB / 0.5067 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009534/0.5005, allocations: 3.222 MB / 0.5099 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008109/0.5086, allocations: 5.768 MB / 0.5155 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01999/0.5286, allocations: 11.22 MB / 0.5265 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.43/0.9587, allocations: 39.66 MB / 0.5652 GB, free: 85.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.9587, allocations: 0 / 0.5652 GB, free: 85.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9587, allocations: 0 / 0.5652 GB, free: 85.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008963/0.9596, allocations: 1.312 kB / 0.5652 GB, free: 85.12 MB / 478.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.07164/1.031, allocations: 22.87 MB / 0.5875 GB, free: 75.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.031, allocations: 7.688 kB / 0.5876 GB, free: 75.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06644/1.098, allocations: 12.29 MB / 0.5996 GB, free: 70.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02438/1.122, allocations: 10.55 MB / 0.6099 GB, free: 61.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/1.124, allocations: 1.407 MB / 0.6112 GB, free: 60.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009291/1.133, allocations: 1.824 MB / 0.613 GB, free: 58.49 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07771/1.211, allocations: 30.84 MB / 0.6431 GB, free: 27.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006295/1.211, allocations: 19.8 kB / 0.6431 GB, free: 27.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007337/1.219, allocations: 0.7675 MB / 0.6439 GB, free: 26.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007448/1.219, allocations: 0.9607 MB / 0.6448 GB, free: 25.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05284/1.272, allocations: 27.87 MB / 0.6721 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1702/1.443, allocations: 93.19 MB / 0.7631 GB, free: 200 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2662/1.709, allocations: 53.34 MB / 0.8151 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01002/1.719, allocations: 5.997 MB / 0.821 GB, free: 156.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02744/1.746, allocations: 16.57 MB / 0.8372 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/1.746, allocations: 83.59 kB / 0.8373 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 7.284e-06/1.746, allocations: 0 / 0.8373 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.03139/1.778, allocations: 13.21 MB / 0.8502 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/1.778, allocations: 128.3 kB / 0.8503 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/1.791, allocations: 7.484 MB / 0.8576 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007165/1.792, allocations: 97.7 kB / 0.8577 GB, free: 138 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004179/1.796, allocations: 8.526 MB / 0.866 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.798, allocations: 1.557 MB / 0.8675 GB, free: 129 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002968/1.801, allocations: 2.272 MB / 0.8698 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/1.801, allocations: 305.1 kB / 0.87 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005516/1.806, allocations: 4.703 MB / 0.8746 GB, free: 122.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/1.813, allocations: 10.41 MB / 0.8848 GB, free: 110 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.827, allocations: 15.98 MB / 0.9004 GB, free: 91.22 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.827, allocations: 60 kB / 0.9005 GB, free: 91.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02442/1.852, allocations: 16 MB / 0.9161 GB, free: 75.14 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001934/1.852, allocations: 92.22 kB / 0.9162 GB, free: 75.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003573/1.852, allocations: 203.9 kB / 0.9164 GB, free: 74.86 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/1.858, allocations: 1.692 MB / 0.918 GB, free: 73.16 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007574/1.865, allocations: 2.507 MB / 0.9205 GB, free: 70.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.878, allocations: 11.53 MB / 0.9317 GB, free: 58.99 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009147/1.887, allocations: 1.548 MB / 0.9332 GB, free: 57.43 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/1.889, allocations: 0.6015 MB / 0.9338 GB, free: 56.82 MB / 0.5607 GB 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 (1312): * Single equations (assignments): 1309 * 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.01307/1.902, allocations: 7.394 MB / 0.9411 GB, free: 49.41 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/1.904, allocations: 0.6287 MB / 0.9417 GB, free: 48.77 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.919, allocations: 8.087 MB / 0.9496 GB, free: 40.65 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008389/1.927, allocations: 6.48 MB / 0.9559 GB, free: 34.15 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/1.927, allocations: 12 kB / 0.9559 GB, free: 34.14 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.126e-05/1.927, allocations: 27.41 kB / 0.9559 GB, free: 34.12 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03815/1.965, allocations: 20.73 MB / 0.9762 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.965, allocations: 0 / 0.9762 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002995/1.968, allocations: 0.7705 MB / 0.9769 GB, free: 12.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004453/1.973, allocations: 1.454 MB / 0.9783 GB, free: 11.16 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005367/1.973, allocations: 87.98 kB / 0.9784 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2351/2.208, allocations: 11.14 MB / 0.9893 GB, free: 186 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.209, allocations: 3.328 kB / 0.9893 GB, free: 186 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/2.227, allocations: 11.71 MB / 1.001 GB, free: 185.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00304/2.23, allocations: 1.31 MB / 1.002 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/2.231, allocations: 78.16 kB / 1.002 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/2.234, allocations: 303.1 kB / 1.002 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000717/2.235, allocations: 299.1 kB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/2.235, allocations: 127 kB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007793/2.243, allocations: 4.927 MB / 1.008 GB, free: 183.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.31e-07/2.243, allocations: 0 / 1.008 GB, free: 183.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01327/2.256, allocations: 4.181 MB / 1.012 GB, free: 182.4 MB / 0.5607 GB 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 (381): * Single equations (assignments): 378 * 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 Backend phase and start with SimCode phase: time 0.001239/2.258, allocations: 273.2 kB / 1.012 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01649/2.274, allocations: 10.97 MB / 1.023 GB, free: 178.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/2.274, allocations: 3.875 kB / 1.023 GB, free: 178.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005924/2.28, allocations: 3.94 MB / 1.027 GB, free: 176.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007882/2.288, allocations: 1.547 MB / 1.028 GB, free: 175.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05147/2.34, allocations: 29.68 MB / 1.057 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01799/2.358, allocations: 11.61 MB / 1.068 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01069/2.368, allocations: 3.981 MB / 1.072 GB, free: 143.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/2.37, allocations: 0.5021 MB / 1.073 GB, free: 142.8 MB / 0.5607 GB Notification: Performance of SimCode: time 9.22e-07/2.37, allocations: 0 / 1.073 GB, free: 142.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.1464/2.517, allocations: 93.9 MB / 1.164 GB, free: 51.3 MB / 0.5607 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches