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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 48.02 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2428, allocations: 52.18 MB / 422.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00574/0.2486, allocations: 3.453 MB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.2507, allocations: 0.9153 MB / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.251, allocations: 27.81 kB / 427 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.2514, allocations: 158.8 kB / 427.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000813/0.2522, allocations: 294.4 kB / 427.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2525, allocations: 127.7 kB / 427.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.2539, allocations: 1.393 MB / 428.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008756/0.2548, allocations: 0.6174 MB / 429.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008227/0.2556, allocations: 0.6425 MB / 430.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.2567, allocations: 0.7901 MB / 431 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.2569, allocations: 160 kB / 431.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.2572, allocations: 156 kB / 431.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.2577, allocations: 454.7 kB / 431.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.2583, allocations: 0.5991 MB / 432.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.2603, allocations: 2.051 MB / 434.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2603, allocations: 4 kB / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2603, allocations: 0 / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.2603, allocations: 0 / 434.4 MB, free: 2.656 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.002978/0.2633, allocations: 1.63 MB / 436 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2634, allocations: 8.031 kB / 436 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.2636, allocations: 177.1 kB / 436.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.2638, allocations: 148 kB / 436.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.2655, allocations: 0.8163 MB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.991e-05/0.2655, allocations: 86.16 kB / 437.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.2657, allocations: 112 kB / 437.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.2685, allocations: 1.699 MB / 439 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.2685, allocations: 0 / 439 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2686, allocations: 51.94 kB / 439.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.2686, allocations: 28 kB / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.2708, allocations: 1.312 MB / 440.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/0.2775, allocations: 3.793 MB / 444.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.2785, allocations: 0.6013 MB / 444.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000745/0.2792, allocations: 434.5 kB / 445.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.2793, allocations: 8.422 kB / 445.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.2793, allocations: 39 kB / 445.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/0.2793, allocations: 0 / 445.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00342/0.2827, allocations: 1.888 MB / 447.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2828, allocations: 59.78 kB / 447.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.2839, allocations: 0.8242 MB / 448.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.284, allocations: 37.7 kB / 448.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.2844, allocations: 0.5584 MB / 448.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2846, allocations: 186.4 kB / 448.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.2848, allocations: 102.3 kB / 448.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.285, allocations: 378.8 kB / 449.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.2855, allocations: 309.1 kB / 449.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.2861, allocations: 404.2 kB / 450 MB, free: 2.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2872, allocations: 0.7018 MB / 450.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2872, allocations: 0 / 450.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00152/0.2887, allocations: 0.9115 MB / 451.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2887, allocations: 8 kB / 451.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2887, allocations: 0 / 451.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.289, allocations: 108.8 kB / 451.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.2895, allocations: 136 kB / 451.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.2921, allocations: 2.241 MB / 454.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.2925, allocations: 23.98 kB / 454.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.2925, allocations: 23.98 kB / 454.2 MB, free: 14.27 MB / 366.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.0006522/0.2932, allocations: 461.9 kB / 454.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2933, allocations: 79.53 kB / 454.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.2935, allocations: 87.08 kB / 454.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2935, allocations: 4.188 kB / 454.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.2935, allocations: 7.938 kB / 454.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2935, allocations: 7.922 kB / 454.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.2968, allocations: 1.887 MB / 456.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2968, allocations: 4.156 kB / 456.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.2972, allocations: 87.89 kB / 456.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.2974, allocations: 100.7 kB / 456.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.2975, allocations: 15.98 kB / 456.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.2999, allocations: 2.215 MB / 459.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2999, allocations: 4.031 kB / 459.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.3017, allocations: 1.197 MB / 460.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.302, allocations: 95.66 kB / 460.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.3021, allocations: 12 kB / 460.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.3025, allocations: 47.95 kB / 460.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3026, allocations: 48.28 kB / 460.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.3026, allocations: 16 kB / 460.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008114/0.3034, allocations: 0.5849 MB / 461.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3034, allocations: 0 / 461.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000749/0.3042, allocations: 212 kB / 461.3 MB, free: 6.887 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.002173/0.3063, allocations: 1.753 MB / 463.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3078, allocations: 0.8042 MB / 463.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3078, allocations: 3.938 kB / 463.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.3086, allocations: 486 kB / 464.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.3095, allocations: 182.8 kB / 464.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.3222, allocations: 8.609 MB / 473.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009283/0.3232, allocations: 0.7408 MB / 473.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004792/0.3236, allocations: 185.8 kB / 474.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.3242, allocations: 379.3 kB / 474.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3242, allocations: 0 / 474.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.3849, allocations: 21 MB / 495.4 MB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.66, allocations: 3.938 kB / 495.4 MB, free: 4.781 MB / 398.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.094429338816553]