Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",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.001644/0.001644, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.001869/0.001869, allocations: 192 kB / 18.51 MB, free: 4.641 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.327/1.327, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00152/0.00152, allocations: 51.92 kB / 280.7 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07971/0.08125, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005093/0.08637, allocations: 3.719 MB / 331.1 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.08832, allocations: 1.009 MB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.08864, allocations: 19.88 kB / 332.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.089, allocations: 150.8 kB / 332.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008115/0.08982, allocations: 274.5 kB / 332.5 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.09011, allocations: 139.8 kB / 332.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.09136, allocations: 1.405 MB / 334.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.09252, allocations: 1.114 MB / 335.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.09319, allocations: 0.6153 MB / 335.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008048/0.094, allocations: 0.7589 MB / 336.6 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.09421, allocations: 156 kB / 336.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.09445, allocations: 156 kB / 336.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.09484, allocations: 458.7 kB / 337.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007189/0.09557, allocations: 0.7234 MB / 338 MB, free: 9.605 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.09712, allocations: 2.018 MB / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.09714, allocations: 0 / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09714, allocations: 0 / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.09717, allocations: 0 / 340.1 MB, free: 7.582 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002567/0.09974, allocations: 1.664 MB / 341.7 MB, free: 5.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.09979, allocations: 8.031 kB / 341.7 MB, free: 5.855 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.09999, allocations: 181.1 kB / 341.9 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.1002, allocations: 139.3 kB / 342 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.1013, allocations: 0.8034 MB / 342.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.1013, allocations: 86.34 kB / 342.9 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.1015, allocations: 104 kB / 343 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.1037, allocations: 1.544 MB / 344.6 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1037, allocations: 0 / 344.6 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.9e-05/0.1038, allocations: 48 kB / 344.6 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.1039, allocations: 24 kB / 344.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.1059, allocations: 1.308 MB / 346 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006077/0.1119, allocations: 4.224 MB / 350.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.1131, allocations: 1.315 MB / 351.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.1138, allocations: 459.4 kB / 351.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1138, allocations: 8.422 kB / 352 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1138, allocations: 39 kB / 352 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.1139, allocations: 0 / 352 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003312/0.1172, allocations: 1.946 MB / 353.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1172, allocations: 55.84 kB / 354 MB, free: 9.098 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1182, allocations: 0.8203 MB / 354.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.1183, allocations: 37.7 kB / 354.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.1187, allocations: 0.5375 MB / 355.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1188, allocations: 185.3 kB / 355.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.119, allocations: 98.25 kB / 355.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1192, allocations: 382.8 kB / 356 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.1196, allocations: 308.9 kB / 356.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.1202, allocations: 395.4 kB / 356.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.1211, allocations: 0.7028 MB / 357.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1211, allocations: 0 / 357.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001404/0.1225, allocations: 0.9203 MB / 358.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1226, allocations: 8 kB / 358.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1226, allocations: 0 / 358.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.1229, allocations: 120.9 kB / 358.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.1234, allocations: 123.8 kB / 358.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.1256, allocations: 2.372 MB / 361 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.1259, allocations: 27.95 kB / 361 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.126, allocations: 23.98 kB / 361 MB, free: 1.809 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005642/0.1266, allocations: 453.4 kB / 361.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1267, allocations: 75.16 kB / 361.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1268, allocations: 91.08 kB / 361.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1268, allocations: 12.06 kB / 361.6 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1269, allocations: 0 / 361.6 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1269, allocations: 7.922 kB / 361.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.1298, allocations: 2.025 MB / 363.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1299, allocations: 4.188 kB / 363.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1302, allocations: 87.88 kB / 363.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.1304, allocations: 108.8 kB / 363.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1305, allocations: 16 kB / 363.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.1325, allocations: 2.318 MB / 366.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1325, allocations: 8.094 kB / 366.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.1341, allocations: 1.203 MB / 367.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.1343, allocations: 156.3 kB / 367.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.1344, allocations: 15.98 kB / 367.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.1348, allocations: 52.02 kB / 367.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.1349, allocations: 48.3 kB / 367.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.135, allocations: 16 kB / 367.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007386/0.1357, allocations: 0.5849 MB / 368.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1357, allocations: 0 / 368.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007147/0.1364, allocations: 208 kB / 368.5 MB, free: 10.06 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.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 (43): * Single equations (assignments): 42 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/0.1383, allocations: 1.756 MB / 370.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.1398, allocations: 0.9337 MB / 371.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1398, allocations: 0 / 371.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.1405, allocations: 497.5 kB / 371.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.1415, allocations: 186.9 kB / 371.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1351/0.2766, allocations: 8.934 MB / 380.8 MB, free: 51.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.2774, allocations: 1.337 MB / 382.1 MB, free: 51.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.2779, allocations: 177.8 kB / 382.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.2782, allocations: 376.4 kB / 382.7 MB, free: 51.27 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2783, allocations: 0 / 382.7 MB, free: 51.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/0.3372, allocations: 19.09 MB / 401.7 MB, free: 40.92 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/9.422, allocations: 12.05 kB / 401.8 MB, free: 40.91 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches