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.001222/0.001222, allocations: 108.6 kB / 21.22 MB, free: 0.7344 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.001256/0.001256, allocations: 183.5 kB / 24.5 MB, free: 4.09 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.407/1.407, allocations: 225.6 MB / 253.3 MB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 47.94 kB / 371.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2567, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005203/0.2619, allocations: 3.811 MB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2635, allocations: 0.9658 MB / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.2637, allocations: 27.81 kB / 428.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.2641, allocations: 150.8 kB / 428.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.2649, allocations: 294.4 kB / 428.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.2651, allocations: 123.9 kB / 428.8 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.2665, allocations: 1.397 MB / 430.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.2674, allocations: 0.6353 MB / 430.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006896/0.2681, allocations: 0.6425 MB / 431.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.2691, allocations: 0.7745 MB / 432.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.2693, allocations: 159.9 kB / 432.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2695, allocations: 156 kB / 432.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.2699, allocations: 462.7 kB / 433 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007222/0.2706, allocations: 0.7233 MB / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.2726, allocations: 2.044 MB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2726, allocations: 4 kB / 435.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2726, allocations: 0 / 435.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.555e-05/0.2726, allocations: 0 / 435.7 MB, free: 2.191 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.002997/0.2756, allocations: 1.626 MB / 437.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2756, allocations: 15.97 kB / 437.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.55e-05/0.2757, allocations: 26.41 kB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.2759, allocations: 173.2 kB / 437.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.2761, allocations: 148 kB / 437.7 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.2776, allocations: 0.8239 MB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.18e-05/0.2777, allocations: 90.19 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.2778, allocations: 112 kB / 438.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.2802, allocations: 1.548 MB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.2802, allocations: 0 / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.2803, allocations: 44 kB / 440.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.2803, allocations: 28 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.2824, allocations: 1.312 MB / 441.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/0.2888, allocations: 4.121 MB / 445.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009585/0.2898, allocations: 0.6091 MB / 446.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.2905, allocations: 434.5 kB / 446.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2906, allocations: 4.438 kB / 446.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.2906, allocations: 39 kB / 446.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 3.016e-06/0.2906, allocations: 0 / 446.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003462/0.2941, allocations: 1.885 MB / 448.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.2941, allocations: 59.78 kB / 448.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.2952, allocations: 0.8204 MB / 449.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.2952, allocations: 37.7 kB / 449.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.2956, allocations: 0.5506 MB / 450.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.2958, allocations: 182.4 kB / 450.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.296, allocations: 106.3 kB / 450.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2962, allocations: 386.8 kB / 450.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.2967, allocations: 305.1 kB / 451.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.2972, allocations: 400.2 kB / 451.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2983, allocations: 0.7019 MB / 452.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2983, allocations: 0 / 452.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001428/0.2997, allocations: 0.9154 MB / 453.2 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2997, allocations: 4 kB / 453.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2997, allocations: 4 kB / 453.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.3, allocations: 112.7 kB / 453.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3005, allocations: 119.9 kB / 453.4 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.3029, allocations: 2.273 MB / 455.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.3033, allocations: 28 kB / 455.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.3033, allocations: 20 kB / 455.7 MB, free: 13.62 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.000712/0.304, allocations: 453.5 kB / 456.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3041, allocations: 79.53 kB / 456.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.3043, allocations: 91.14 kB / 456.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3043, allocations: 7.984 kB / 456.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.3043, allocations: 7.938 kB / 456.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3043, allocations: 3.938 kB / 456.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/0.3075, allocations: 1.985 MB / 458.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3075, allocations: 8.031 kB / 458.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.3078, allocations: 83.89 kB / 458.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.3081, allocations: 100.7 kB / 458.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.3081, allocations: 15.98 kB / 458.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.3104, allocations: 2.231 MB / 460.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3104, allocations: 4.031 kB / 460.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.3121, allocations: 1.197 MB / 462 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.3123, allocations: 87.55 kB / 462.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.3124, allocations: 20.05 kB / 462.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.3128, allocations: 52.02 kB / 462.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3129, allocations: 44.23 kB / 462.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3129, allocations: 16 kB / 462.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.3137, allocations: 0.581 MB / 462.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3137, allocations: 0 / 462.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.3144, allocations: 216 kB / 463 MB, free: 6.125 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.002106/0.3165, allocations: 1.766 MB / 464.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3179, allocations: 0.8006 MB / 465.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3179, allocations: 0 / 465.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.3187, allocations: 480.8 kB / 466 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.3196, allocations: 175 kB / 466.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.3323, allocations: 8.602 MB / 474.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.3334, allocations: 1.336 MB / 476.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.3338, allocations: 189.8 kB / 476.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.3343, allocations: 375.3 kB / 476.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3343, allocations: 0 / 476.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/0.3962, allocations: 20.1 MB / 496.8 MB, free: 4.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.62, allocations: 22.14 kB / 496.8 MB, free: 4.281 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.101121368003078]