Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001743/0.001743, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001457/0.001457, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2332, allocations: 53.38 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007146/0.2403, allocations: 5.316 MB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003712/0.244, allocations: 2.029 MB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000396/0.2444, allocations: 47.69 kB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008593/0.2453, allocations: 389.4 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.2465, allocations: 0.5827 MB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.2469, allocations: 231.7 kB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.2491, allocations: 2.225 MB / 441.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.2506, allocations: 1.166 MB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2525, allocations: 1.078 MB / 444.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.2541, allocations: 1.245 MB / 445.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003415/0.2545, allocations: 288 kB / 445.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.2551, allocations: 379.9 kB / 446 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.2557, allocations: 0.7012 MB / 446.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2568, allocations: 0.9999 MB / 447.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.2605, allocations: 3.819 MB / 451.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2605, allocations: 0 / 451.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2605, allocations: 0 / 451.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.2605, allocations: 0 / 451.6 MB, free: 2.02 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004246/0.2648, allocations: 2.369 MB / 453.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2648, allocations: 20.02 kB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003395/0.2652, allocations: 266.2 kB / 454.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008943/0.2661, allocations: 283.5 kB / 454.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.2685, allocations: 1.33 MB / 455.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.2686, allocations: 123.5 kB / 455.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.2689, allocations: 176 kB / 456.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/0.2731, allocations: 2.748 MB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.2731, allocations: 3.984 kB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.2733, allocations: 75.94 kB / 458.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.2734, allocations: 95.58 kB / 459 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003418/0.2768, allocations: 2.11 MB / 461.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.2877, allocations: 6.624 MB / 467.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.289, allocations: 0.7138 MB / 468.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.2897, allocations: 442.6 kB / 468.9 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.2899, allocations: 36.41 kB / 468.9 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2899, allocations: 47 kB / 469 MB, free: 172 kB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.715e-06/0.2899, allocations: 4 kB / 469 MB, free: 168 kB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004049/0.294, allocations: 2.137 MB / 471.1 MB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.2941, allocations: 85.66 kB / 471.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.2962, allocations: 1.563 MB / 472.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.2962, allocations: 37.7 kB / 472.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007703/0.297, allocations: 1.002 MB / 473.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.2972, allocations: 202.4 kB / 474 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.2975, allocations: 242.7 kB / 474.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2977, allocations: 357.9 kB / 474.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.2984, allocations: 458.3 kB / 475 MB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2997, allocations: 1.119 MB / 476.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.3017, allocations: 1.619 MB / 477.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.3017, allocations: 8 kB / 477.8 MB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00285/0.3046, allocations: 1.692 MB / 479.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.3046, allocations: 16 kB / 479.5 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.3046, allocations: 20 kB / 479.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.3054, allocations: 176.7 kB / 479.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.3063, allocations: 287.5 kB / 480 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.3088, allocations: 2.23 MB / 482.2 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/0.3098, allocations: 91.81 kB / 482.3 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.3099, allocations: 67.98 kB / 482.4 MB, free: 1.941 MB / 382.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.00103/0.3109, allocations: 0.7078 MB / 483.1 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.3112, allocations: 135.2 kB / 483.2 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.3127, allocations: 0.8412 MB / 484 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.3127, allocations: 8 kB / 484 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3127, allocations: 0 / 484 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3127, allocations: 3.984 kB / 484.1 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.3168, allocations: 2.328 MB / 486.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3168, allocations: 12.12 kB / 486.4 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.3172, allocations: 95.88 kB / 486.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/0.3179, allocations: 148.6 kB / 486.6 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3179, allocations: 16 kB / 486.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.3203, allocations: 2.184 MB / 488.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.3203, allocations: 8.062 kB / 488.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.3224, allocations: 1.329 MB / 490.2 MB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005843/0.323, allocations: 211.1 kB / 490.4 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.3232, allocations: 16 kB / 490.4 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.3238, allocations: 51.97 kB / 490.4 MB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3239, allocations: 55.84 kB / 490.5 MB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.324, allocations: 16 kB / 490.5 MB, free: 9.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00156/0.3255, allocations: 1.04 MB / 491.5 MB, free: 8.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3255, allocations: 0 / 491.5 MB, free: 8.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001315/0.3268, allocations: 352 kB / 491.9 MB, free: 8.125 MB / 398.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.002736/0.3296, allocations: 1.955 MB / 493.8 MB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.3315, allocations: 1.125 MB / 495 MB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3315, allocations: 0 / 495 MB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.3323, allocations: 0.4915 MB / 495.5 MB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.3338, allocations: 371.2 kB / 495.8 MB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/0.3538, allocations: 13.95 MB / 0.4978 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.3551, allocations: 1.128 MB / 0.4989 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008735/0.3559, allocations: 327.3 kB / 0.4992 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/0.3567, allocations: 0.6125 MB / 0.4998 GB, free: 3.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3567, allocations: 4 kB / 0.4998 GB, free: 3.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2748/0.6316, allocations: 36.8 MB / 0.5358 GB, free: 100 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.73, allocations: 3.875 kB / 0.5358 GB, free: 100 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 15.12581300601596]