Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 205.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 55.92 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2664, allocations: 53.36 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005392/0.2718, allocations: 3.471 MB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2738, allocations: 0.9814 MB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.274, allocations: 31.81 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.2743, allocations: 158.8 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007832/0.2751, allocations: 290.4 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.2754, allocations: 135.8 kB / 436.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.277, allocations: 1.405 MB / 437.5 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009272/0.2779, allocations: 0.6408 MB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.2789, allocations: 0.6542 MB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.28, allocations: 0.7706 MB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.2802, allocations: 156 kB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.2806, allocations: 160 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.281, allocations: 462.7 kB / 440.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.2817, allocations: 0.599 MB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.2838, allocations: 2.067 MB / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2838, allocations: 0 / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2838, allocations: 0 / 443 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.2838, allocations: 4 kB / 443 MB, free: 10.57 MB / 350.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.003023/0.2869, allocations: 1.63 MB / 444.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2869, allocations: 8.031 kB / 444.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002435/0.2872, allocations: 185.2 kB / 444.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004918/0.2876, allocations: 172 kB / 445 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.2893, allocations: 0.8474 MB / 445.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.2894, allocations: 86.16 kB / 446 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.2896, allocations: 108 kB / 446.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.2922, allocations: 1.699 MB / 447.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.2922, allocations: 0 / 447.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.2923, allocations: 48 kB / 447.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.2924, allocations: 28 kB / 447.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.2946, allocations: 1.312 MB / 449.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006528/0.3011, allocations: 3.793 MB / 452.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.3021, allocations: 0.6045 MB / 453.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.3028, allocations: 434.4 kB / 454 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.3028, allocations: 4.438 kB / 454 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3029, allocations: 42.98 kB / 454 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 1.764e-06/0.3029, allocations: 0 / 454 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003386/0.3063, allocations: 1.885 MB / 455.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3063, allocations: 55.84 kB / 456 MB, free: 13.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3074, allocations: 0.832 MB / 456.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.3075, allocations: 37.7 kB / 456.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.308, allocations: 0.5506 MB / 457.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.3081, allocations: 190.4 kB / 457.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3083, allocations: 106.3 kB / 457.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.3085, allocations: 386.8 kB / 458 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.309, allocations: 309 kB / 458.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005779/0.3096, allocations: 400.2 kB / 458.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3107, allocations: 0.7019 MB / 459.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3107, allocations: 0 / 459.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001605/0.3123, allocations: 0.9152 MB / 460.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.3123, allocations: 8 kB / 460.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3123, allocations: 4 kB / 460.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.3126, allocations: 117 kB / 460.5 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.3131, allocations: 119.9 kB / 460.6 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.3157, allocations: 2.245 MB / 462.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.316, allocations: 28.05 kB / 462.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.3161, allocations: 24 kB / 462.9 MB, free: 6.121 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.0007087/0.3168, allocations: 457.4 kB / 463.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3169, allocations: 75.53 kB / 463.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3171, allocations: 95.27 kB / 463.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3171, allocations: 4 kB / 463.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3171, allocations: 7.875 kB / 463.5 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3171, allocations: 7.922 kB / 463.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.3204, allocations: 1.895 MB / 465.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3204, allocations: 0 / 465.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.3207, allocations: 87.89 kB / 465.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.321, allocations: 92.78 kB / 465.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.321, allocations: 19.98 kB / 465.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.3234, allocations: 2.211 MB / 467.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3234, allocations: 0 / 467.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.3252, allocations: 1.208 MB / 469 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.3255, allocations: 91.48 kB / 469.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.821e-05/0.3256, allocations: 16 kB / 469.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.326, allocations: 43.95 kB / 469.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3261, allocations: 48.23 kB / 469.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.3261, allocations: 16 kB / 469.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008317/0.3269, allocations: 0.5966 MB / 469.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3269, allocations: 0 / 469.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007641/0.3277, allocations: 208 kB / 470 MB, free: 14.72 MB / 382.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.002159/0.3298, allocations: 1.753 MB / 471.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.3313, allocations: 0.8042 MB / 472.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3313, allocations: 192 / 472.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.3321, allocations: 485.7 kB / 473.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.333, allocations: 181.3 kB / 473.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.3455, allocations: 8.645 MB / 481.9 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008912/0.3464, allocations: 0.7408 MB / 482.6 MB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.3469, allocations: 193.8 kB / 482.8 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.3474, allocations: 379.3 kB / 483.2 MB, free: 1.266 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3474, allocations: 0 / 483.2 MB, free: 1.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/0.4067, allocations: 21.35 MB / 0.4927 GB, free: 12.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.28, allocations: 11.28 kB / 0.4927 GB, free: 12.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.760802870005136]