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.001464/0.001464, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001571/0.001571, allocations: 210.6 kB / 23.73 MB, free: 4.523 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001464/0.001464, allocations: 48.02 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 53.36 MB / 431.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004962/0.264, allocations: 3.475 MB / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2657, allocations: 0.9893 MB / 435.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2659, allocations: 27.81 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.2663, allocations: 158.8 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/0.267, allocations: 282.5 kB / 436 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2673, allocations: 143.8 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.2687, allocations: 1.409 MB / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000838/0.2695, allocations: 0.6369 MB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.2703, allocations: 0.6425 MB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.2713, allocations: 0.7822 MB / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.2715, allocations: 156 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.2717, allocations: 156 kB / 439.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.2721, allocations: 466.7 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.2728, allocations: 0.5991 MB / 441 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.2748, allocations: 2.075 MB / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2748, allocations: 0 / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2748, allocations: 0 / 443 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.2748, allocations: 3.938 kB / 443 MB, free: 10.75 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.002826/0.2776, allocations: 1.626 MB / 444.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2776, allocations: 12.03 kB / 444.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.2779, allocations: 177.2 kB / 444.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.2783, allocations: 172 kB / 445 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.2799, allocations: 0.8473 MB / 445.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.28, allocations: 90.16 kB / 446 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.2801, allocations: 108 kB / 446.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.2826, allocations: 1.699 MB / 447.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.2826, allocations: 0 / 447.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2827, allocations: 44 kB / 447.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.2828, allocations: 28 kB / 447.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.2848, allocations: 1.312 MB / 449.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/0.291, allocations: 3.797 MB / 452.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.2919, allocations: 0.6007 MB / 453.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.2926, allocations: 430.4 kB / 454 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2926, allocations: 12.44 kB / 454 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.2927, allocations: 39 kB / 454 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 1.793e-06/0.2927, allocations: 0 / 454 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003155/0.2958, allocations: 1.877 MB / 455.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2959, allocations: 63.84 kB / 456 MB, free: 13.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2969, allocations: 0.832 MB / 456.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.297, allocations: 41.7 kB / 456.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.2974, allocations: 0.5506 MB / 457.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.2976, allocations: 190.4 kB / 457.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2977, allocations: 102.3 kB / 457.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.298, allocations: 386.8 kB / 458 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.2985, allocations: 301.1 kB / 458.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.299, allocations: 408.2 kB / 458.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.3, allocations: 0.7018 MB / 459.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3, allocations: 4 kB / 459.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00138/0.3014, allocations: 0.9153 MB / 460.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3014, allocations: 4.312 kB / 460.4 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3014, allocations: 8 kB / 460.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.3017, allocations: 112.7 kB / 460.5 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.3022, allocations: 123.8 kB / 460.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.3045, allocations: 2.241 MB / 462.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.3048, allocations: 24.03 kB / 462.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3049, allocations: 24 kB / 462.9 MB, free: 6.309 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.0006078/0.3055, allocations: 464 kB / 463.3 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.3056, allocations: 75.53 kB / 463.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.3058, allocations: 91.08 kB / 463.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3058, allocations: 4 kB / 463.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3058, allocations: 12 kB / 463.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3058, allocations: 3.984 kB / 463.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.3089, allocations: 1.891 MB / 465.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3089, allocations: 0 / 465.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.3093, allocations: 87.88 kB / 465.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/0.3095, allocations: 104.7 kB / 465.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.3095, allocations: 20.14 kB / 465.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.3117, allocations: 2.203 MB / 467.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3117, allocations: 3.938 kB / 467.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.3134, allocations: 1.204 MB / 469 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.3136, allocations: 91.5 kB / 469.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.3137, allocations: 15.98 kB / 469.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.3141, allocations: 55.95 kB / 469.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3142, allocations: 40.3 kB / 469.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.3142, allocations: 19.94 kB / 469.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007506/0.3149, allocations: 0.5927 MB / 469.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3149, allocations: 0 / 469.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.3157, allocations: 212 kB / 470 MB, free: 14.91 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.001996/0.3177, allocations: 1.749 MB / 471.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.319, allocations: 0.8046 MB / 472.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.319, allocations: 4 kB / 472.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007284/0.3197, allocations: 480.8 kB / 473.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.3206, allocations: 174.9 kB / 473.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.3324, allocations: 8.645 MB / 481.9 MB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.3332, allocations: 0.7487 MB / 482.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004607/0.3337, allocations: 193.7 kB / 482.8 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.3342, allocations: 379.3 kB / 483.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3342, allocations: 0 / 483.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.393, allocations: 21.34 MB / 0.4927 GB, free: 12.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.77, allocations: 2.75 kB / 0.4927 GB, free: 12.42 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 & /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: 14.188897735992214]