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.001513/0.001513, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001597/0.001598, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.36/1.36, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001318/0.001319, allocations: 47.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.0952, allocations: 46.62 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.189/0.2843, allocations: 7.722 MB / 382.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.2896, allocations: 2.734 MB / 385.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.2908, allocations: 57.16 kB / 385.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.2921, allocations: 0.5797 MB / 385.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.294, allocations: 0.7592 MB / 386.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.295, allocations: 435.7 kB / 386.9 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003401/0.2984, allocations: 3.405 MB / 390.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.3019, allocations: 3.435 MB / 393.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.3048, allocations: 1.663 MB / 395.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.3078, allocations: 2.016 MB / 397.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007941/0.3086, allocations: 461.9 kB / 397.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.3101, allocations: 0.6687 MB / 398.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.3113, allocations: 1.246 MB / 399.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.314, allocations: 1.958 MB / 401.8 MB, free: 16 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007105/0.3211, allocations: 6.121 MB / 407.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3211, allocations: 1.219 kB / 407.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3212, allocations: 0 / 407.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001336/0.3213, allocations: 4 kB / 407.9 MB, free: 12.11 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.007702/0.329, allocations: 3.868 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3291, allocations: 8.031 kB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006187/0.3297, allocations: 433.9 kB / 412.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.3308, allocations: 406.3 kB / 412.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.3345, allocations: 1.971 MB / 414.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.3347, allocations: 227.5 kB / 414.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004167/0.3351, allocations: 284.5 kB / 415.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006871/0.342, allocations: 4.195 MB / 419.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.3421, allocations: 0 / 419.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.3424, allocations: 120 kB / 419.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.3425, allocations: 138.8 kB / 419.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005646/0.3482, allocations: 3.486 MB / 423 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.3659, allocations: 10.81 MB / 433.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.3686, allocations: 2.65 MB / 436.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.3709, allocations: 1.501 MB / 438 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.3712, allocations: 118.1 kB / 438.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.3712, allocations: 51.56 kB / 438.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.847e-06/0.3712, allocations: 0 / 438.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.00971/0.381, allocations: 5.33 MB / 443.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3811, allocations: 94.41 kB / 443.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.3838, allocations: 1.913 MB / 445.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.574e-05/0.3839, allocations: 45.7 kB / 445.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/0.3849, allocations: 1.353 MB / 446.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.3853, allocations: 483.9 kB / 447.3 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.3857, allocations: 271.5 kB / 447.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.3858, allocations: 305.1 kB / 447.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3869, allocations: 0.812 MB / 448.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.3886, allocations: 1.191 MB / 449.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/0.3913, allocations: 2.095 MB / 452 MB, free: 1.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3913, allocations: 4 kB / 452 MB, free: 1.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004226/0.3955, allocations: 2.535 MB / 454.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.3956, allocations: 11.91 kB / 454.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3956, allocations: 12 kB / 454.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.3974, allocations: 482.6 kB / 455 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.3987, allocations: 335.5 kB / 455.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/0.4043, allocations: 4.404 MB / 459.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4058, allocations: 91.81 kB / 459.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.4059, allocations: 63.98 kB / 459.9 MB, free: 9.402 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.002008/0.4079, allocations: 1.052 MB / 461 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.4084, allocations: 194.8 kB / 461.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.4119, allocations: 2.137 MB / 463.3 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/0.412, allocations: 16 kB / 463.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.412, allocations: 4 kB / 463.3 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.412, allocations: 7.969 kB / 463.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008919/0.4209, allocations: 5.19 MB / 468.5 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.421, allocations: 0 / 468.5 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009817/0.422, allocations: 223.7 kB / 468.7 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.4237, allocations: 460.7 kB / 469.2 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.4238, allocations: 32.03 kB / 469.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/0.4289, allocations: 4.299 MB / 473.5 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4289, allocations: 3.938 kB / 473.5 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.4342, allocations: 3.264 MB / 476.8 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.4356, allocations: 459.8 kB / 477.2 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.4359, allocations: 32 kB / 477.2 MB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4369, allocations: 95.95 kB / 477.3 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.4372, allocations: 104.6 kB / 477.4 MB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.4373, allocations: 36 kB / 477.5 MB, free: 7.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.4393, allocations: 1.342 MB / 478.8 MB, free: 6.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4393, allocations: 4 kB / 478.8 MB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001929/0.4412, allocations: 0.5507 MB / 479.4 MB, free: 5.605 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.005625/0.4468, allocations: 3.953 MB / 483.3 MB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.4506, allocations: 2.196 MB / 485.5 MB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.4507, allocations: 4.375 kB / 485.5 MB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.4526, allocations: 1.223 MB / 486.7 MB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.4553, allocations: 0.5255 MB / 487.3 MB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/0.4861, allocations: 20.61 MB / 0.496 GB, free: 8.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.4882, allocations: 2.427 MB / 0.4984 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001321/0.4896, allocations: 491.4 kB / 0.4988 GB, free: 5.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/0.4909, allocations: 1.065 MB / 0.4999 GB, free: 4.43 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4909, allocations: 0 / 0.4999 GB, free: 4.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/0.5772, allocations: 51.91 MB / 0.5506 GB, free: 400 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.07, allocations: 11.95 kB / 0.5506 GB, free: 388 kB / 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