Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_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.00145/0.00145, allocations: 112.2 kB / 17.06 MB, free: 5.992 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.00172/0.00172, allocations: 196 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009749/0.000975, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2728, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005082/0.2779, allocations: 3.765 MB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.2796, allocations: 0.9464 MB / 404.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.2799, allocations: 19.94 kB / 405 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.2802, allocations: 150.8 kB / 405.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007663/0.281, allocations: 290.5 kB / 405.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2813, allocations: 123.8 kB / 405.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.2826, allocations: 1.389 MB / 406.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2838, allocations: 1.185 MB / 408.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007866/0.2846, allocations: 0.627 MB / 408.7 MB, free: 280 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.2856, allocations: 0.7628 MB / 409.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.2858, allocations: 156 kB / 409.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.286, allocations: 156 kB / 409.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.2864, allocations: 454.8 kB / 410.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.2871, allocations: 0.7311 MB / 411 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.2889, allocations: 2.035 MB / 413 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2889, allocations: 4 kB / 413 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2889, allocations: 0 / 413 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.289, allocations: 4 kB / 413 MB, free: 11.97 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002814/0.2918, allocations: 1.702 MB / 414.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2918, allocations: 12.03 kB / 414.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.292, allocations: 173.2 kB / 414.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2922, allocations: 144 kB / 415 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.2937, allocations: 0.8701 MB / 415.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/0.2937, allocations: 86.16 kB / 416 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.2939, allocations: 112 kB / 416.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.2963, allocations: 1.552 MB / 417.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.2963, allocations: 0 / 417.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2964, allocations: 48 kB / 417.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.2964, allocations: 27.98 kB / 417.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.2985, allocations: 1.312 MB / 419 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006133/0.3046, allocations: 4.179 MB / 423.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3058, allocations: 1.316 MB / 424.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.3065, allocations: 462.5 kB / 425 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3065, allocations: 8.422 kB / 425 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3066, allocations: 42.94 kB / 425 MB, free: 15.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.813e-06/0.3066, allocations: 0 / 425 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003118/0.3097, allocations: 1.96 MB / 427 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3098, allocations: 63.78 kB / 427 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.3108, allocations: 0.8165 MB / 427.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.3108, allocations: 41.7 kB / 427.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.3112, allocations: 0.5545 MB / 428.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.3113, allocations: 182.5 kB / 428.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.3115, allocations: 102.2 kB / 428.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3117, allocations: 378.8 kB / 429.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.3121, allocations: 308.9 kB / 429.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.3126, allocations: 407.4 kB / 429.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/0.3136, allocations: 0.6989 MB / 430.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3136, allocations: 3.938 kB / 430.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001442/0.3151, allocations: 0.917 MB / 431.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3151, allocations: 4 kB / 431.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3151, allocations: 4 kB / 431.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.3155, allocations: 112.7 kB / 431.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.316, allocations: 119.9 kB / 431.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.3183, allocations: 2.376 MB / 434 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.3187, allocations: 31.98 kB / 434.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.3188, allocations: 20 kB / 434.1 MB, free: 6.07 MB / 350.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.0006168/0.3194, allocations: 461.5 kB / 434.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3195, allocations: 79.53 kB / 434.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.3197, allocations: 91.02 kB / 434.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3197, allocations: 12.05 kB / 434.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3197, allocations: 7.938 kB / 434.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3197, allocations: 0 / 434.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.3229, allocations: 2.013 MB / 436.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3229, allocations: 0 / 436.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.3233, allocations: 92.05 kB / 436.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.3236, allocations: 100.7 kB / 436.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.3236, allocations: 20.05 kB / 436.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.3257, allocations: 2.318 MB / 439.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3257, allocations: 8.062 kB / 439.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.3274, allocations: 1.204 MB / 440.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.3276, allocations: 168.6 kB / 440.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/0.3278, allocations: 12 kB / 440.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.3282, allocations: 52.02 kB / 440.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.3283, allocations: 48.25 kB / 440.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.3283, allocations: 16 kB / 440.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007573/0.3291, allocations: 0.5849 MB / 441.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3291, allocations: 0 / 441.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007339/0.3298, allocations: 208 kB / 441.5 MB, free: 14.32 MB / 366.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.001977/0.3318, allocations: 1.761 MB / 443.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3332, allocations: 0.8204 MB / 444.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.3332, allocations: 11.94 kB / 444.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.3339, allocations: 488.8 kB / 444.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/0.3349, allocations: 178.7 kB / 444.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.3475, allocations: 8.589 MB / 453.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.3487, allocations: 1.336 MB / 454.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000442/0.3491, allocations: 185.8 kB / 454.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.3496, allocations: 375.3 kB / 455.3 MB, free: 312 kB / 366.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3497, allocations: 4 kB / 455.3 MB, free: 308 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04742/0.3971, allocations: 19.5 MB / 474.8 MB, free: 13.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.92, allocations: 12.75 kB / 474.8 MB, free: 13.05 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Polyphase.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_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches