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.001195/0.001195, allocations: 109.5 kB / 17.73 MB, free: 5.359 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.001259/0.001259, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.457/1.457, 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.001435/0.001435, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1026, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.2311/0.3338, allocations: 29.57 MB / 404.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.3548, allocations: 7.413 MB / 411.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01103/0.366, allocations: 225.4 kB / 411.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03086/0.3969, allocations: 13.16 MB / 425 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01485/0.4117, allocations: 3.038 MB / 428.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008058/0.4198, allocations: 1.907 MB / 430 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02691/0.4467, allocations: 18.93 MB / 448.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08127/0.528, allocations: 44.6 MB / 493.5 MB, free: 8.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02018/0.5483, allocations: 10.31 MB / 0.492 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02102/0.5694, allocations: 11.53 MB / 0.5033 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01095/0.5804, allocations: 2.977 MB / 0.5062 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/0.5955, allocations: 3.222 MB / 0.5093 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01257/0.6081, allocations: 5.775 MB / 0.515 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02424/0.6324, allocations: 11.21 MB / 0.5259 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5312/1.164, allocations: 39.66 MB / 0.5646 GB, free: 85.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.164, allocations: 0 / 0.5646 GB, free: 85.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.082e-06/1.164, allocations: 0.6562 kB / 0.5646 GB, free: 85.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001274/1.165, allocations: 1.938 kB / 0.5646 GB, free: 85.14 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.08361/1.249, allocations: 22.87 MB / 0.587 GB, free: 76.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.249, allocations: 10.36 kB / 0.587 GB, free: 76.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01466/1.263, allocations: 3.112 MB / 0.59 GB, free: 74.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06662/1.33, allocations: 12.29 MB / 0.602 GB, free: 68.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02761/1.358, allocations: 10.55 MB / 0.6123 GB, free: 58.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00162/1.359, allocations: 1.402 MB / 0.6137 GB, free: 57.4 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01323/1.373, allocations: 1.828 MB / 0.6155 GB, free: 55.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09298/1.466, allocations: 30.86 MB / 0.6456 GB, free: 24.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008933/1.467, allocations: 23.56 kB / 0.6456 GB, free: 24.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01083/1.477, allocations: 0.7556 MB / 0.6464 GB, free: 23.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008726/1.478, allocations: 0.9724 MB / 0.6473 GB, free: 22.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06182/1.54, allocations: 27.87 MB / 0.6745 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4544/1.995, allocations: 93.24 MB / 0.7656 GB, free: 181.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03865/2.033, allocations: 53.34 MB / 0.8177 GB, free: 136.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008529/2.042, allocations: 5.997 MB / 0.8235 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0252/2.067, allocations: 16.57 MB / 0.8397 GB, free: 133.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.575e-05/2.067, allocations: 80.31 kB / 0.8398 GB, free: 133.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=427): time 6.612e-06/2.067, allocations: 0 / 0.8398 GB, free: 133.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=427): time 0.02949/2.097, allocations: 13.22 MB / 0.8527 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/2.097, allocations: 120 kB / 0.8528 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/2.108, allocations: 7.484 MB / 0.8601 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007113/2.109, allocations: 96.55 kB / 0.8602 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004732/2.113, allocations: 8.533 MB / 0.8686 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/2.115, allocations: 1.561 MB / 0.8701 GB, free: 119.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003223/2.118, allocations: 2.275 MB / 0.8723 GB, free: 118.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.742e-05/2.118, allocations: 301.1 kB / 0.8726 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005717/2.124, allocations: 4.708 MB / 0.8772 GB, free: 116.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008718/2.133, allocations: 10.41 MB / 0.8874 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01659/2.149, allocations: 15.98 MB / 0.903 GB, free: 86.03 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000218/2.15, allocations: 59.94 kB / 0.903 GB, free: 85.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02384/2.174, allocations: 16.01 MB / 0.9187 GB, free: 69.95 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/2.174, allocations: 88 kB / 0.9187 GB, free: 69.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002315/2.174, allocations: 200 kB / 0.9189 GB, free: 69.66 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004945/2.179, allocations: 1.692 MB / 0.9206 GB, free: 67.96 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007877/2.187, allocations: 2.507 MB / 0.923 GB, free: 65.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/2.199, allocations: 11.53 MB / 0.9343 GB, free: 53.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.21, allocations: 1.548 MB / 0.9358 GB, free: 52.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002149/2.213, allocations: 0.6015 MB / 0.9364 GB, free: 51.63 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.01287/2.225, allocations: 7.39 MB / 0.9436 GB, free: 44.22 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/2.227, allocations: 0.6326 MB / 0.9442 GB, free: 43.58 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/2.238, allocations: 8.083 MB / 0.9521 GB, free: 35.46 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007672/2.246, allocations: 6.484 MB / 0.9584 GB, free: 28.96 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/2.246, allocations: 15.94 kB / 0.9585 GB, free: 28.95 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/2.246, allocations: 23.91 kB / 0.9585 GB, free: 28.92 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03977/2.286, allocations: 20.74 MB / 0.9787 GB, free: 8.195 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/2.286, allocations: 0 / 0.9787 GB, free: 8.195 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/2.289, allocations: 0.7684 MB / 0.9795 GB, free: 7.426 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004805/2.294, allocations: 1.457 MB / 0.9809 GB, free: 5.969 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005831/2.294, allocations: 95.97 kB / 0.981 GB, free: 5.875 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2786/2.573, allocations: 11.12 MB / 0.9919 GB, free: 186.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.573, allocations: 1.469 kB / 0.9919 GB, free: 186.3 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/2.59, allocations: 11.72 MB / 1.003 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004244/2.594, allocations: 1.316 MB / 1.005 GB, free: 183.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002211/2.597, allocations: 72.19 kB / 1.005 GB, free: 183.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/2.601, allocations: 303 kB / 1.005 GB, free: 183.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008132/2.601, allocations: 293.7 kB / 1.005 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003182/2.602, allocations: 126.8 kB / 1.005 GB, free: 183.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007834/2.61, allocations: 4.929 MB / 1.01 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.6e-07/2.61, allocations: 3.5 kB / 1.01 GB, free: 181.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01358/2.623, allocations: 4.19 MB / 1.014 GB, free: 180.2 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.01593/2.639, allocations: 12.45 MB / 1.026 GB, free: 174.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01604/2.655, allocations: 10.98 MB / 1.037 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/2.655, allocations: 2 kB / 1.037 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/2.662, allocations: 3.937 MB / 1.041 GB, free: 168 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007464/2.669, allocations: 1.551 MB / 1.042 GB, free: 166.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1366/2.806, allocations: 99.56 MB / 1.14 GB, free: 65.61 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/2.822, allocations: 11.61 MB / 1.151 GB, free: 53.96 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.009023/2.831, allocations: 3.975 MB / 1.155 GB, free: 49.97 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008895/2.84, allocations: 6.115 MB / 1.161 GB, free: 43.86 MB / 0.5607 GB Notification: Performance of SimCode: time 8.62e-07/2.84, allocations: 0 / 1.161 GB, free: 43.86 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5267/3.367, allocations: 204.6 MB / 1.361 GB, free: 66.06 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.79/30.16, allocations: 11.56 kB / 1.361 GB, free: 66.05 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