Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001528/0.001528, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001681/0.001681, allocations: 216 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 55.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2557, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00553/0.2612, allocations: 5.25 MB / 401.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.2648, allocations: 2.034 MB / 403.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.2652, allocations: 46.38 kB / 403.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008833/0.2661, allocations: 390.8 kB / 404.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.2674, allocations: 0.5864 MB / 404.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.2678, allocations: 234 kB / 404.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.2697, allocations: 2.294 MB / 407.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.2709, allocations: 1.019 MB / 408.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.2729, allocations: 1.075 MB / 409.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.2744, allocations: 1.192 MB / 410.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003743/0.2748, allocations: 288.4 kB / 410.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.2755, allocations: 367.5 kB / 411.1 MB, free: 496 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005365/0.2761, allocations: 0.7142 MB / 411.8 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.2773, allocations: 0.9961 MB / 412.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.2814, allocations: 3.8 MB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2814, allocations: 3.938 kB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2814, allocations: 1.062 kB / 416.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.881e-05/0.2814, allocations: 0 / 416.6 MB, free: 12.56 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.005046/0.2865, allocations: 2.351 MB / 419 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2865, allocations: 13.58 kB / 419 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003686/0.2869, allocations: 270 kB / 419.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007024/0.2876, allocations: 263.6 kB / 419.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.2901, allocations: 1.189 MB / 420.7 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.2902, allocations: 134.8 kB / 420.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.2904, allocations: 178 kB / 421 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.2948, allocations: 2.753 MB / 423.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.2948, allocations: 0 / 423.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.295, allocations: 72 kB / 423.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.2951, allocations: 99.58 kB / 423.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.2987, allocations: 2.103 MB / 426 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.3103, allocations: 6.659 MB / 432.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.3116, allocations: 0.6961 MB / 433.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/0.3123, allocations: 443.8 kB / 433.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.3125, allocations: 36.41 kB / 433.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.3125, allocations: 43 kB / 433.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.275e-06/0.3125, allocations: 0 / 433.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.004219/0.3167, allocations: 2.137 MB / 436 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.3168, allocations: 93.47 kB / 436.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.319, allocations: 1.547 MB / 437.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.3191, allocations: 37.7 kB / 437.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008062/0.3199, allocations: 1.002 MB / 438.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.3201, allocations: 206.4 kB / 438.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.3204, allocations: 242.7 kB / 439.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3206, allocations: 353.9 kB / 439.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.3213, allocations: 458.3 kB / 439.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.3226, allocations: 1.116 MB / 441 MB, free: 5.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.3247, allocations: 1.619 MB / 442.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3247, allocations: 4 kB / 442.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00278/0.3275, allocations: 1.691 MB / 444.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.3275, allocations: 19.91 kB / 444.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.3275, allocations: 24 kB / 444.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/0.3282, allocations: 176.9 kB / 444.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.3291, allocations: 291.5 kB / 444.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.3316, allocations: 2.23 MB / 447.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/0.3326, allocations: 91.81 kB / 447.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3327, allocations: 64.11 kB / 447.2 MB, free: 14.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.3337, allocations: 0.7195 MB / 448 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.334, allocations: 135.3 kB / 448.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.3355, allocations: 0.8372 MB / 448.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3355, allocations: 7.938 kB / 448.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3355, allocations: 0 / 448.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3355, allocations: 4 kB / 448.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.3397, allocations: 2.335 MB / 451.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.3397, allocations: 4 kB / 451.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.3401, allocations: 91.89 kB / 451.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006797/0.3408, allocations: 152.9 kB / 451.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.3408, allocations: 12 kB / 451.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.3434, allocations: 2.191 MB / 453.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3434, allocations: 4 kB / 453.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.3455, allocations: 1.321 MB / 455 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.3461, allocations: 219.1 kB / 455.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.3462, allocations: 15.94 kB / 455.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/0.3469, allocations: 52.03 kB / 455.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.347, allocations: 55.84 kB / 455.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.347, allocations: 20 kB / 455.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001491/0.3485, allocations: 1.036 MB / 456.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3485, allocations: 0 / 456.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001296/0.3498, allocations: 347.9 kB / 456.8 MB, free: 5.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002651/0.3524, allocations: 1.941 MB / 458.7 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.3544, allocations: 1.121 MB / 459.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3544, allocations: 4 kB / 459.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.3553, allocations: 499.7 kB / 460.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.3569, allocations: 376.3 kB / 460.7 MB, free: 1.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.3775, allocations: 13.92 MB / 474.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.3788, allocations: 1.123 MB / 475.7 MB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000917/0.3798, allocations: 323.2 kB / 476.1 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.3806, allocations: 0.6164 MB / 476.7 MB, free: 160 kB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3806, allocations: 0 / 476.7 MB, free: 160 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/0.4599, allocations: 36.18 MB / 0.5008 GB, free: 11.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.55, allocations: 7.859 kB / 0.5008 GB, free: 11.84 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.863070342689753]