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.001513/0.001513, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001742/0.001742, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.524/1.524, 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.002277/0.002277, allocations: 51.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2819, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005732/0.2876, allocations: 3.463 MB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.2901, allocations: 0.9853 MB / 435.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.2906, allocations: 31.75 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.2911, allocations: 154.8 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.2921, allocations: 302.4 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.2924, allocations: 131.8 kB / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.294, allocations: 1.409 MB / 437.5 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009276/0.2949, allocations: 0.6174 MB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.2957, allocations: 0.6464 MB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2968, allocations: 0.7901 MB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.297, allocations: 156 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.2973, allocations: 160 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.2977, allocations: 462.7 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.2984, allocations: 0.5913 MB / 440.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3005, allocations: 2.067 MB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.3005, allocations: 4 kB / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3005, allocations: 0 / 443 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.3006, allocations: 0 / 443 MB, free: 10.61 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.003171/0.3037, allocations: 1.645 MB / 444.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3038, allocations: 8.031 kB / 444.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.304, allocations: 169.2 kB / 444.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005323/0.3045, allocations: 180 kB / 445 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.3063, allocations: 0.8513 MB / 445.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.3064, allocations: 90.09 kB / 446 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.3066, allocations: 104 kB / 446.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.3093, allocations: 1.691 MB / 447.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.3093, allocations: 0 / 447.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3094, allocations: 51.98 kB / 447.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.3094, allocations: 32 kB / 447.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.3117, allocations: 1.308 MB / 449.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006919/0.3186, allocations: 3.797 MB / 452.9 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3196, allocations: 0.5968 MB / 453.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/0.3203, allocations: 442.4 kB / 454 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.3204, allocations: 4.438 kB / 454 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3204, allocations: 42.94 kB / 454 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.3204, allocations: 0 / 454 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003493/0.3239, allocations: 1.881 MB / 455.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.324, allocations: 55.84 kB / 455.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.3251, allocations: 0.8398 MB / 456.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.3251, allocations: 37.7 kB / 456.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.3256, allocations: 0.5467 MB / 457.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.3258, allocations: 190.3 kB / 457.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.326, allocations: 110.3 kB / 457.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3262, allocations: 378.8 kB / 458 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.3267, allocations: 313.1 kB / 458.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.3273, allocations: 400.3 kB / 458.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3284, allocations: 0.7057 MB / 459.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3284, allocations: 0 / 459.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001434/0.3298, allocations: 0.9154 MB / 460.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3298, allocations: 8 kB / 460.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3298, allocations: 0 / 460.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.3301, allocations: 104.8 kB / 460.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3306, allocations: 127.9 kB / 460.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.3331, allocations: 2.253 MB / 462.8 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.3335, allocations: 23.98 kB / 462.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.3335, allocations: 23.98 kB / 462.9 MB, free: 6.152 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.0006821/0.3342, allocations: 453.6 kB / 463.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.3343, allocations: 79.53 kB / 463.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.3345, allocations: 87.08 kB / 463.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3345, allocations: 11.98 kB / 463.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3345, allocations: 11.81 kB / 463.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3345, allocations: 0 / 463.5 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.3379, allocations: 1.887 MB / 465.4 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3379, allocations: 352 / 465.4 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.3383, allocations: 91.83 kB / 465.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.3385, allocations: 108.7 kB / 465.6 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.3385, allocations: 16 kB / 465.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.3409, allocations: 2.206 MB / 467.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3409, allocations: 0 / 467.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.3427, allocations: 1.197 MB / 469 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.343, allocations: 95.48 kB / 469.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.3431, allocations: 20.19 kB / 469.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.3435, allocations: 43.95 kB / 469.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3436, allocations: 52.28 kB / 469.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.3436, allocations: 19.98 kB / 469.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008368/0.3445, allocations: 0.5888 MB / 469.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 469.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007753/0.3453, allocations: 208 kB / 470 MB, free: 14.76 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.00213/0.3474, allocations: 1.753 MB / 471.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.3488, allocations: 0.8081 MB / 472.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3488, allocations: 4 kB / 472.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000752/0.3496, allocations: 477.8 kB / 473.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.3504, allocations: 178.9 kB / 473.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.3629, allocations: 8.645 MB / 481.9 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/0.3637, allocations: 0.7408 MB / 482.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004609/0.3642, allocations: 185.8 kB / 482.8 MB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.3647, allocations: 383.3 kB / 483.2 MB, free: 1.305 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3647, allocations: 0 / 483.2 MB, free: 1.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/0.4259, allocations: 21.12 MB / 0.4925 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.56, allocations: 10.69 kB / 0.4925 GB, free: 12.49 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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: 15.114121899940073]