Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001858/0.001858, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002288/0.002288, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8 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.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 53.37 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00559/0.3229, allocations: 3.829 MB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3254, allocations: 1.09 MB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.3259, allocations: 35.75 kB / 436.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.3263, allocations: 154.8 kB / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.3275, allocations: 318.3 kB / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.3279, allocations: 131.8 kB / 436.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.3296, allocations: 1.424 MB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009798/0.3306, allocations: 0.6529 MB / 438.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.3316, allocations: 0.6697 MB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.3329, allocations: 0.7939 MB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.3331, allocations: 160 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.3335, allocations: 167.9 kB / 440.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.3339, allocations: 466.7 kB / 441 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.3349, allocations: 0.7428 MB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.3372, allocations: 2.083 MB / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3372, allocations: 0 / 443.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3372, allocations: 4 kB / 443.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-05/0.3373, allocations: 0 / 443.8 MB, free: 10.1 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003445/0.3407, allocations: 1.654 MB / 445.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3408, allocations: 12.02 kB / 445.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/0.341, allocations: 173.3 kB / 445.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.3416, allocations: 180 kB / 445.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.3432, allocations: 0.8707 MB / 446.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.3433, allocations: 90.19 kB / 446.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.3435, allocations: 108 kB / 446.9 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.3461, allocations: 1.568 MB / 448.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.3461, allocations: 4 kB / 448.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.3462, allocations: 48 kB / 448.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.3463, allocations: 28 kB / 448.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.3486, allocations: 1.332 MB / 449.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007421/0.356, allocations: 4.211 MB / 454.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.357, allocations: 0.6333 MB / 454.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009182/0.3579, allocations: 0.4944 MB / 455.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3579, allocations: 4.438 kB / 455.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.358, allocations: 50.92 kB / 455.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.315e-06/0.358, allocations: 0 / 455.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001551/0.3595, allocations: 0.8733 MB / 456.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3596, allocations: 59.84 kB / 456.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3607, allocations: 0.8283 MB / 457 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.3607, allocations: 37.7 kB / 457.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.3612, allocations: 0.5622 MB / 457.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.3613, allocations: 182.4 kB / 457.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3615, allocations: 106.3 kB / 457.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3617, allocations: 390.8 kB / 458.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.3622, allocations: 297.1 kB / 458.6 MB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.3627, allocations: 403.3 kB / 459 MB, free: 10.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3637, allocations: 0.6815 MB / 459.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3637, allocations: 4 kB / 459.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001362/0.3651, allocations: 0.8209 MB / 460.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3651, allocations: 11.94 kB / 460.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3651, allocations: 0 / 460.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.3652, allocations: 8 kB / 460.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.3658, allocations: 147.8 kB / 460.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.3658, allocations: 11.94 kB / 460.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.3662, allocations: 71.78 kB / 460.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.3662, allocations: 16 kB / 460.7 MB, free: 8.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006958/0.3669, allocations: 465.4 kB / 461.2 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.3671, allocations: 75.53 kB / 461.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.3673, allocations: 91.08 kB / 461.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3673, allocations: 4 kB / 461.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3673, allocations: 3.938 kB / 461.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3673, allocations: 7.984 kB / 461.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.3705, allocations: 1.917 MB / 463.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.3705, allocations: 4 kB / 463.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.3711, allocations: 119.8 kB / 463.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.3711, allocations: 4 kB / 463.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.3711, allocations: 12 kB / 463.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3711, allocations: 11.98 kB / 463.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3711, allocations: 0 / 463.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.3728, allocations: 1.134 MB / 464.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3731, allocations: 107.4 kB / 464.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/0.3731, allocations: 8 kB / 464.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.3736, allocations: 47.95 kB / 464.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.3736, allocations: 44.3 kB / 464.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.3737, allocations: 16 kB / 464.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008184/0.3745, allocations: 0.5966 MB / 465.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3745, allocations: 0 / 465.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007557/0.3753, allocations: 287.1 kB / 465.7 MB, free: 3.738 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/0.3771, allocations: 1.682 MB / 467.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3783, allocations: 0.6376 MB / 468 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3783, allocations: 0 / 468 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.3787, allocations: 306.2 kB / 468.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008837/0.3796, allocations: 183.8 kB / 468.5 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.3922, allocations: 8.549 MB / 477 MB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.3933, allocations: 1.344 MB / 478.4 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005348/0.3938, allocations: 209.8 kB / 478.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/0.3943, allocations: 395.3 kB / 479 MB, free: 6.199 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3943, allocations: 0 / 479 MB, free: 6.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05864/0.453, allocations: 19.8 MB / 498.8 MB, free: 2.648 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.96, allocations: 16.02 kB / 498.8 MB, free: 2.637 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_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_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.538972358997853]