Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_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.001079/0.001079, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001119/0.001119, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.333/1.333, 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.001364/0.001364, allocations: 59.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09185, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.1835/0.2753, allocations: 7.715 MB / 382.4 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.2796, allocations: 2.731 MB / 385.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.2804, allocations: 57.22 kB / 385.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.2814, allocations: 0.5685 MB / 385.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.2831, allocations: 0.7351 MB / 386.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.284, allocations: 439.2 kB / 386.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.2874, allocations: 3.404 MB / 390.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.2914, allocations: 3.428 MB / 393.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.2948, allocations: 1.66 MB / 395.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.2982, allocations: 2.021 MB / 397.4 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000805/0.299, allocations: 461.4 kB / 397.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.3005, allocations: 0.6672 MB / 398.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3015, allocations: 1.238 MB / 399.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.3039, allocations: 1.966 MB / 401.7 MB, free: 60 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006853/0.3107, allocations: 6.092 MB / 407.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.3108, allocations: 4 kB / 407.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.3108, allocations: 4 kB / 407.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.311, allocations: 5.344 kB / 407.8 MB, free: 12.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.0079/0.3189, allocations: 3.777 MB / 411.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3189, allocations: 8.875 kB / 411.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006064/0.3195, allocations: 430.4 kB / 412 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3206, allocations: 394.1 kB / 412.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/0.3242, allocations: 1.964 MB / 414.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3243, allocations: 224.4 kB / 414.6 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.3248, allocations: 281.9 kB / 414.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006865/0.3317, allocations: 4.187 MB / 419.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.3317, allocations: 4 kB / 419.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.332, allocations: 124 kB / 419.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.3322, allocations: 137.9 kB / 419.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005546/0.3378, allocations: 3.478 MB / 422.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.3543, allocations: 10.78 MB / 433.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.3569, allocations: 2.657 MB / 436.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/0.3593, allocations: 1.493 MB / 437.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.3595, allocations: 126.1 kB / 437.9 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3596, allocations: 47.62 kB / 437.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.587e-06/0.3596, allocations: 0 / 437.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009019/0.3686, allocations: 5.286 MB / 443.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.3687, allocations: 94.42 kB / 443.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.3717, allocations: 1.906 MB / 445.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.3718, allocations: 49.7 kB / 445.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008987/0.3727, allocations: 1.322 MB / 446.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.3731, allocations: 457.3 kB / 447 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.3735, allocations: 275.3 kB / 447.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.3736, allocations: 305.1 kB / 447.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3748, allocations: 0.8159 MB / 448.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.3762, allocations: 1.187 MB / 449.6 MB, free: 4.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.3789, allocations: 2.087 MB / 451.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.3789, allocations: 0 / 451.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004073/0.383, allocations: 2.538 MB / 454.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.3831, allocations: 11.91 kB / 454.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.3831, allocations: 12 kB / 454.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.3849, allocations: 482.6 kB / 454.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.3862, allocations: 335.5 kB / 455 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/0.3915, allocations: 4.403 MB / 459.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.393, allocations: 87.83 kB / 459.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.3931, allocations: 56 kB / 459.6 MB, free: 9.742 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.3949, allocations: 1.048 MB / 460.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/0.3955, allocations: 193.7 kB / 460.8 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/0.3992, allocations: 2.137 MB / 462.9 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/0.3993, allocations: 23.98 kB / 463 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3993, allocations: 4 kB / 463 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3993, allocations: 7.984 kB / 463 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/0.409, allocations: 5.17 MB / 468.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.409, allocations: 7.938 kB / 468.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4101, allocations: 219.7 kB / 468.4 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.4119, allocations: 468.6 kB / 468.8 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.412, allocations: 35.98 kB / 468.9 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.4174, allocations: 4.295 MB / 473.2 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4174, allocations: 4 kB / 473.2 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/0.4225, allocations: 3.247 MB / 476.4 MB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.4238, allocations: 454.8 kB / 476.8 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005108/0.4244, allocations: 31.98 kB / 476.9 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.4257, allocations: 95.97 kB / 477 MB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.4259, allocations: 112.5 kB / 477.1 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.426, allocations: 39.98 kB / 477.1 MB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002359/0.4284, allocations: 1.342 MB / 478.5 MB, free: 6.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4284, allocations: 0 / 478.5 MB, free: 6.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002278/0.4307, allocations: 0.5586 MB / 479 MB, free: 5.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005748/0.4364, allocations: 3.913 MB / 482.9 MB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003558/0.44, allocations: 2.204 MB / 485.1 MB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.44, allocations: 4.062 kB / 485.1 MB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.442, allocations: 1.218 MB / 486.4 MB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.4447, allocations: 0.5074 MB / 486.9 MB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/0.4788, allocations: 20.53 MB / 0.4955 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.4815, allocations: 2.427 MB / 0.4979 GB, free: 6.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001398/0.4829, allocations: 495.3 kB / 0.4983 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/0.4844, allocations: 1.066 MB / 0.4994 GB, free: 4.91 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4844, allocations: 0 / 0.4994 GB, free: 4.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/0.5715, allocations: 51.9 MB / 0.5501 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.83, allocations: 15.95 kB / 0.5501 GB, free: 0.8555 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches