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.001454/0.001454, allocations: 105.4 kB / 18.39 MB, free: 4.641 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.001541/0.001541, allocations: 189.1 kB / 19.33 MB, free: 3.715 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.395/1.395, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.00137/0.00137, allocations: 47.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09124, allocations: 46.62 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2032/0.2945, allocations: 29.56 MB / 405.4 MB, free: 10 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.3129, allocations: 7.424 MB / 412.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00703/0.32, allocations: 219.3 kB / 413 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02956/0.3495, allocations: 13.18 MB / 426.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.3622, allocations: 3.041 MB / 429.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006708/0.369, allocations: 1.913 MB / 431.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02322/0.3922, allocations: 18.93 MB / 450.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07756/0.4698, allocations: 44.6 MB / 494.7 MB, free: 8.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01658/0.4864, allocations: 10.31 MB / 0.4932 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/0.5048, allocations: 11.54 MB / 0.5044 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008646/0.5135, allocations: 2.973 MB / 0.5073 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.5256, allocations: 3.226 MB / 0.5105 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009515/0.5352, allocations: 5.76 MB / 0.5161 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02267/0.5579, allocations: 11.22 MB / 0.5271 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4526/1.011, allocations: 39.66 MB / 0.5658 GB, free: 85.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/1.011, allocations: 0.9688 kB / 0.5658 GB, free: 85.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.036e-06/1.011, allocations: 0.625 kB / 0.5658 GB, free: 85.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001496/1.012, allocations: 0 / 0.5658 GB, free: 85.2 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.08003/1.092, allocations: 22.88 MB / 0.5881 GB, free: 75.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.092, allocations: 7.875 kB / 0.5881 GB, free: 75.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06701/1.159, allocations: 12.28 MB / 0.6001 GB, free: 70.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02462/1.184, allocations: 10.55 MB / 0.6104 GB, free: 61.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/1.185, allocations: 1.401 MB / 0.6118 GB, free: 60.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009045/1.194, allocations: 1.829 MB / 0.6136 GB, free: 58.49 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08043/1.275, allocations: 30.84 MB / 0.6437 GB, free: 27.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005751/1.275, allocations: 19.81 kB / 0.6437 GB, free: 27.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007231/1.283, allocations: 0.758 MB / 0.6445 GB, free: 26.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007571/1.283, allocations: 0.9724 MB / 0.6454 GB, free: 25.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0545/1.338, allocations: 27.86 MB / 0.6726 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1717/1.51, allocations: 93.2 MB / 0.7636 GB, free: 188 kB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.315/1.825, allocations: 53.32 MB / 0.8157 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009781/1.834, allocations: 5.997 MB / 0.8216 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02716/1.862, allocations: 16.58 MB / 0.8378 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.862, allocations: 79.47 kB / 0.8379 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 5.47e-06/1.862, allocations: 0 / 0.8379 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02945/1.891, allocations: 13.21 MB / 0.8508 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/1.891, allocations: 120.5 kB / 0.8509 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/1.904, allocations: 7.489 MB / 0.8582 GB, free: 138.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008614/1.905, allocations: 93.7 kB / 0.8583 GB, free: 138 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005223/1.91, allocations: 8.533 MB / 0.8666 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.912, allocations: 1.559 MB / 0.8681 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003671/1.916, allocations: 2.272 MB / 0.8703 GB, free: 127 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/1.916, allocations: 301.1 kB / 0.8706 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006118/1.922, allocations: 4.703 MB / 0.8752 GB, free: 122.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009679/1.932, allocations: 10.4 MB / 0.8854 GB, free: 110 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/1.947, allocations: 15.99 MB / 0.901 GB, free: 91.23 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001581/1.947, allocations: 56 kB / 0.9011 GB, free: 91.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02638/1.974, allocations: 16 MB / 0.9167 GB, free: 75.16 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/1.974, allocations: 88 kB / 0.9168 GB, free: 75.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003622/1.974, allocations: 199.9 kB / 0.917 GB, free: 74.88 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005183/1.979, allocations: 1.7 MB / 0.9186 GB, free: 73.17 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009601/1.989, allocations: 2.505 MB / 0.9211 GB, free: 70.66 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/2.004, allocations: 11.53 MB / 0.9323 GB, free: 59.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/2.015, allocations: 1.548 MB / 0.9338 GB, free: 57.45 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/2.017, allocations: 0.6015 MB / 0.9344 GB, free: 56.85 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.01425/2.031, allocations: 7.398 MB / 0.9416 GB, free: 49.43 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/2.033, allocations: 0.6287 MB / 0.9423 GB, free: 48.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/2.046, allocations: 8.087 MB / 0.9502 GB, free: 40.67 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008419/2.055, allocations: 6.484 MB / 0.9565 GB, free: 34.17 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/2.055, allocations: 12 kB / 0.9565 GB, free: 34.16 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/2.055, allocations: 23.92 kB / 0.9565 GB, free: 34.13 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03778/2.093, allocations: 20.73 MB / 0.9768 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/2.093, allocations: 128 / 0.9768 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/2.096, allocations: 0.7723 MB / 0.9775 GB, free: 12.64 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/2.1, allocations: 1.45 MB / 0.9789 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003565/2.101, allocations: 91.98 kB / 0.979 GB, free: 11.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3011/2.402, allocations: 11.14 MB / 0.9899 GB, free: 186 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/2.402, allocations: 3.375 kB / 0.9899 GB, free: 186 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02016/2.422, allocations: 11.71 MB / 1.001 GB, free: 185.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003662/2.426, allocations: 1.316 MB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/2.427, allocations: 80.7 kB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/2.43, allocations: 303.9 kB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007634/2.43, allocations: 298.3 kB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/2.431, allocations: 125.4 kB / 1.003 GB, free: 185.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008272/2.439, allocations: 4.926 MB / 1.008 GB, free: 183.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.51e-07/2.439, allocations: 1.219 kB / 1.008 GB, free: 183.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01314/2.452, allocations: 4.179 MB / 1.012 GB, free: 182.5 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.001259/2.453, allocations: 276.8 kB / 1.013 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01633/2.47, allocations: 10.96 MB / 1.023 GB, free: 178.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.47, allocations: 10.45 kB / 1.023 GB, free: 178.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005369/2.475, allocations: 3.93 MB / 1.027 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/2.485, allocations: 1.545 MB / 1.029 GB, free: 176 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05509/2.54, allocations: 29.07 MB / 1.057 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/2.553, allocations: 11.23 MB / 1.068 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/2.555, allocations: 0.5918 MB / 1.069 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.122e-06/2.555, allocations: 0 / 1.069 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of Templates: time 0.624/3.179, allocations: 290.6 MB / 1.352 GB, free: 53.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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