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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) 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: 112.5 kB / 17.28 MB, free: 6.047 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.001527/0.001527, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.811/1.811, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001299/0.001299, allocations: 51.92 kB / 280.3 MB, free: 3.371 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1473, allocations: 46.63 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03395/0.1813, allocations: 28.98 MB / 355.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.205, allocations: 7.328 MB / 363.2 MB, free: 212 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01068/0.2158, allocations: 207.3 kB / 363.4 MB, free: 4 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03183/0.2476, allocations: 12.51 MB / 375.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01886/0.2665, allocations: 2.726 MB / 378.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3225/0.589, allocations: 1.742 MB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03765/0.6267, allocations: 18.77 MB / 399.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1154/0.7422, allocations: 53.21 MB / 452.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02713/0.7693, allocations: 10.43 MB / 462.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02913/0.7985, allocations: 11.65 MB / 474.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01397/0.8125, allocations: 2.977 MB / 477.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/0.8314, allocations: 3.229 MB / 480.6 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01624/0.8477, allocations: 5.785 MB / 486.4 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03576/0.8835, allocations: 11.23 MB / 497.7 MB, free: 5.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06558/0.9491, allocations: 39.48 MB / 0.5245 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.9492, allocations: 0 / 0.5245 GB, free: 14.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.9492, allocations: 0 / 0.5245 GB, free: 14.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001758/0.951, allocations: 0 / 0.5245 GB, free: 14.98 MB / 446.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.6506/1.602, allocations: 22.98 MB / 0.547 GB, free: 130 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.155e-05/1.602, allocations: 13 kB / 0.547 GB, free: 130 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02284/1.625, allocations: 3.106 MB / 0.55 GB, free: 128.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07342/1.698, allocations: 12.29 MB / 0.562 GB, free: 125.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03206/1.73, allocations: 10.54 MB / 0.5723 GB, free: 118.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001954/1.732, allocations: 1.395 MB / 0.5737 GB, free: 117.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01223/1.744, allocations: 1.832 MB / 0.5755 GB, free: 116.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1108/1.855, allocations: 30.9 MB / 0.6056 GB, free: 85.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006911/1.856, allocations: 15.91 kB / 0.6057 GB, free: 85.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009786/1.866, allocations: 0.7572 MB / 0.6064 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/1.867, allocations: 0.988 MB / 0.6074 GB, free: 83.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07844/1.945, allocations: 27.92 MB / 0.6346 GB, free: 55.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7749/2.72, allocations: 94.42 MB / 0.7268 GB, free: 117.2 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04693/2.767, allocations: 53.42 MB / 0.779 GB, free: 72.24 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01095/2.778, allocations: 5.927 MB / 0.7848 GB, free: 72.16 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03138/2.81, allocations: 16.86 MB / 0.8013 GB, free: 69.18 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/2.81, allocations: 78.27 kB / 0.8013 GB, free: 69.14 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 7.394e-06/2.81, allocations: 0 / 0.8013 GB, free: 69.14 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03349/2.843, allocations: 13.42 MB / 0.8144 GB, free: 67.34 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.844, allocations: 124.1 kB / 0.8146 GB, free: 67.24 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0176/2.861, allocations: 7.488 MB / 0.8219 GB, free: 63.29 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001662/2.863, allocations: 95.67 kB / 0.822 GB, free: 63.2 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.008373/2.871, allocations: 8.52 MB / 0.8303 GB, free: 55.79 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002876/2.874, allocations: 1.595 MB / 0.8318 GB, free: 54.43 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004328/2.878, allocations: 2.281 MB / 0.8341 GB, free: 53.14 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 0.0001339/2.879, allocations: 301.1 kB / 0.8344 GB, free: 52.84 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008063/2.887, allocations: 4.784 MB / 0.839 GB, free: 50.3 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/2.898, allocations: 10.49 MB / 0.8493 GB, free: 38.55 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/2.916, allocations: 16.14 MB / 0.865 GB, free: 19.58 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002806/2.916, allocations: 63.94 kB / 0.8651 GB, free: 19.52 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.03051/2.947, allocations: 16.17 MB / 0.8809 GB, free: 3.262 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003154/2.947, allocations: 92 kB / 0.881 GB, free: 3.172 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005327/2.948, allocations: 196 kB / 0.8812 GB, free: 2.98 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00593/2.954, allocations: 1.708 MB / 0.8828 GB, free: 1.27 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/2.966, allocations: 2.505 MB / 0.8853 GB, free: 14.76 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/2.985, allocations: 11.51 MB / 0.8965 GB, free: 3.113 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01511/3, allocations: 1.556 MB / 0.898 GB, free: 1.543 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/3.003, allocations: 0.6093 MB / 0.8986 GB, free: 0.9336 MB / 494.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.3335/3.336, allocations: 7.392 MB / 0.9058 GB, free: 148.3 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/3.339, allocations: 0.6292 MB / 0.9065 GB, free: 148.3 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/3.355, allocations: 8.257 MB / 0.9145 GB, free: 145.5 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009027/3.364, allocations: 6.651 MB / 0.921 GB, free: 142.9 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/3.364, allocations: 11.62 kB / 0.921 GB, free: 142.9 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/3.364, allocations: 22.41 kB / 0.9211 GB, free: 142.9 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05146/3.416, allocations: 21.03 MB / 0.9416 GB, free: 135 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/3.416, allocations: 7.656 kB / 0.9416 GB, free: 135 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/3.419, allocations: 0.7621 MB / 0.9423 GB, free: 135 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006217/3.425, allocations: 1.46 MB / 0.9438 GB, free: 134.7 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/3.426, allocations: 92.28 kB / 0.9439 GB, free: 134.6 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/3.439, allocations: 11.18 MB / 0.9548 GB, free: 128.7 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/3.439, allocations: 0 / 0.9548 GB, free: 128.7 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/3.455, allocations: 11.98 MB / 0.9665 GB, free: 119.9 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003512/3.458, allocations: 1.327 MB / 0.9678 GB, free: 118.7 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008652/3.459, allocations: 80 kB / 0.9678 GB, free: 118.6 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/3.462, allocations: 309.2 kB / 0.9681 GB, free: 118.4 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007548/3.463, allocations: 295.9 kB / 0.9684 GB, free: 118.1 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/3.463, allocations: 124 kB / 0.9685 GB, free: 117.9 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.008713/3.472, allocations: 4.926 MB / 0.9733 GB, free: 113 MB / 494.3 MB Notification: Performance of sort global known variables: time 3.71e-07/3.472, allocations: 0 / 0.9733 GB, free: 113 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.01629/3.488, allocations: 4.186 MB / 0.9774 GB, free: 108.8 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.01803/3.506, allocations: 12.73 MB / 0.9899 GB, free: 96.06 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.04046/3.547, allocations: 20.61 MB / 1.01 GB, free: 75.52 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/3.547, allocations: 0.9375 kB / 1.01 GB, free: 75.52 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.007104/3.554, allocations: 4.026 MB / 1.014 GB, free: 71.48 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/3.564, allocations: 1.551 MB / 1.015 GB, free: 69.94 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4852/4.049, allocations: 128.1 MB / 1.141 GB, free: 123.7 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01241/4.062, allocations: 11.62 MB / 1.152 GB, free: 117.3 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01025/4.072, allocations: 3.978 MB / 1.156 GB, free: 115.5 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007401/4.08, allocations: 6.083 MB / 1.162 GB, free: 109.9 MB / 0.4983 GB Notification: Performance of SimCode: time 1.452e-06/4.08, allocations: 0 / 1.162 GB, free: 109.9 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.269/7.349, allocations: 208.2 MB / 1.365 GB, free: 84.55 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/7.349, allocations: 293.9 kB / 1.365 GB, free: 84.17 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.031/16.38, allocations: 0 / 1.365 GB, free: 84.17 MB / 0.4983 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > 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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches