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.001752/0.001751, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001935/0.001935, allocations: 179.1 kB / 18.66 MB, free: 4.434 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.446/1.446, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001679/0.001679, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09994, allocations: 46.61 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2106/0.3106, allocations: 29.58 MB / 404.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.3294, allocations: 7.428 MB / 411.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00771/0.3373, allocations: 218.9 kB / 411.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03079/0.3681, allocations: 13.16 MB / 425 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.3811, allocations: 3.046 MB / 428.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006731/0.3879, allocations: 1.904 MB / 430 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02845/0.4164, allocations: 18.93 MB / 448.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08132/0.4977, allocations: 44.6 MB / 493.5 MB, free: 8.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01798/0.5158, allocations: 10.29 MB / 0.492 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02009/0.5359, allocations: 11.54 MB / 0.5033 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008722/0.5446, allocations: 2.973 MB / 0.5062 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.5555, allocations: 3.234 MB / 0.5093 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01014/0.5656, allocations: 5.76 MB / 0.5149 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02047/0.5861, allocations: 11.22 MB / 0.5259 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4625/1.049, allocations: 39.74 MB / 0.5647 GB, free: 85.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/1.049, allocations: 0 / 0.5647 GB, free: 85.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.883e-06/1.049, allocations: 1.438 kB / 0.5647 GB, free: 85.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0012/1.05, allocations: 2.297 kB / 0.5647 GB, free: 85.07 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.07967/1.13, allocations: 23.28 MB / 0.5874 GB, free: 75.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.13, allocations: 11.44 kB / 0.5875 GB, free: 75.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01255/1.142, allocations: 3.109 MB / 0.5905 GB, free: 73.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06536/1.208, allocations: 12.37 MB / 0.6026 GB, free: 67.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02436/1.232, allocations: 10.58 MB / 0.6129 GB, free: 57.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001359/1.233, allocations: 1.403 MB / 0.6143 GB, free: 56.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01026/1.244, allocations: 1.84 MB / 0.6161 GB, free: 54.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08275/1.327, allocations: 30.85 MB / 0.6462 GB, free: 23.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008341/1.327, allocations: 15.95 kB / 0.6462 GB, free: 23.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008675/1.336, allocations: 0.7588 MB / 0.647 GB, free: 23.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008346/1.337, allocations: 0.9724 MB / 0.6479 GB, free: 22.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06265/1.4, allocations: 27.88 MB / 0.6751 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4461/1.846, allocations: 93.48 MB / 0.7664 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03959/1.885, allocations: 53.34 MB / 0.8185 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009517/1.895, allocations: 5.996 MB / 0.8244 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03217/1.927, allocations: 16.62 MB / 0.8406 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/1.927, allocations: 74.34 kB / 0.8407 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 7.634e-06/1.927, allocations: 7.438 kB / 0.8407 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.03583/1.963, allocations: 13.24 MB / 0.8536 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/1.963, allocations: 119.9 kB / 0.8537 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01557/1.979, allocations: 7.498 MB / 0.861 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008615/1.98, allocations: 94.66 kB / 0.8611 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005895/1.986, allocations: 8.872 MB / 0.8698 GB, free: 117 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0022/1.988, allocations: 1.629 MB / 0.8714 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005967/1.994, allocations: 2.293 MB / 0.8736 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/1.994, allocations: 301.1 kB / 0.8739 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006987/2.001, allocations: 4.705 MB / 0.8785 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009887/2.011, allocations: 10.41 MB / 0.8887 GB, free: 100.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/2.03, allocations: 15.98 MB / 0.9043 GB, free: 82.11 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002381/2.03, allocations: 56 kB / 0.9043 GB, free: 82.05 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02858/2.058, allocations: 16.03 MB / 0.92 GB, free: 66.01 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/2.059, allocations: 95.98 kB / 0.9201 GB, free: 65.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003113/2.059, allocations: 196 kB / 0.9203 GB, free: 65.72 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005684/2.065, allocations: 1.696 MB / 0.9219 GB, free: 64.02 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00881/2.074, allocations: 2.512 MB / 0.9244 GB, free: 61.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/2.088, allocations: 11.53 MB / 0.9356 GB, free: 49.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.099, allocations: 1.589 MB / 0.9372 GB, free: 48.25 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002202/2.101, allocations: 0.6015 MB / 0.9378 GB, free: 47.65 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.01508/2.116, allocations: 7.402 MB / 0.945 GB, free: 40.23 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/2.119, allocations: 0.6597 MB / 0.9457 GB, free: 39.56 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/2.133, allocations: 8.088 MB / 0.9536 GB, free: 31.44 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00913/2.142, allocations: 6.484 MB / 0.9599 GB, free: 24.94 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-05/2.143, allocations: 12 kB / 0.9599 GB, free: 24.93 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.856e-05/2.143, allocations: 23.91 kB / 0.9599 GB, free: 24.9 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04046/2.183, allocations: 20.74 MB / 0.9802 GB, free: 4.168 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/2.183, allocations: 5.359 kB / 0.9802 GB, free: 4.164 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003359/2.187, allocations: 0.7684 MB / 0.9809 GB, free: 3.395 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004863/2.191, allocations: 1.45 MB / 0.9823 GB, free: 1.941 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007363/2.192, allocations: 87.97 kB / 0.9824 GB, free: 1.855 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2653/2.457, allocations: 11.15 MB / 0.9933 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/2.458, allocations: 2.219 kB / 0.9933 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02093/2.478, allocations: 11.75 MB / 1.005 GB, free: 182.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00374/2.482, allocations: 1.352 MB / 1.006 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/2.484, allocations: 71.59 kB / 1.006 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00413/2.488, allocations: 305.6 kB / 1.006 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009745/2.489, allocations: 300 kB / 1.007 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/2.49, allocations: 120.8 kB / 1.007 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008433/2.498, allocations: 4.934 MB / 1.012 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.693e-06/2.498, allocations: 0 / 1.012 GB, free: 180.3 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01509/2.513, allocations: 4.238 MB / 1.016 GB, free: 178.9 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.01608/2.529, allocations: 12.49 MB / 1.028 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0146/2.544, allocations: 10.98 MB / 1.039 GB, free: 168.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.544, allocations: 4 kB / 1.039 GB, free: 168.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005567/2.55, allocations: 3.948 MB / 1.043 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008317/2.558, allocations: 1.546 MB / 1.044 GB, free: 163.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1445/2.703, allocations: 100.1 MB / 1.142 GB, free: 61.24 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02/2.723, allocations: 11.61 MB / 1.153 GB, free: 49.59 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.008654/2.731, allocations: 3.979 MB / 1.157 GB, free: 45.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008014/2.739, allocations: 6.115 MB / 1.163 GB, free: 39.48 MB / 0.5607 GB Notification: Performance of SimCode: time 9.62e-07/2.739, allocations: 0 / 1.163 GB, free: 39.48 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4698/3.209, allocations: 204.9 MB / 1.363 GB, free: 60.51 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.42/29.63, allocations: 4 kB / 1.363 GB, free: 60.51 MB / 0.5607 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","/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