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.00202/0.00202, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00252/0.00252, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.001606/0.001606, allocations: 47.92 kB / 377.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2781, allocations: 53.36 MB / 431.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.008079/0.2862, allocations: 5.968 MB / 437.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.2907, allocations: 2.15 MB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009591/0.2916, allocations: 51.62 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.293, allocations: 410.4 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.2952, allocations: 0.5788 MB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.296, allocations: 231.7 kB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.2991, allocations: 2.229 MB / 442.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.3012, allocations: 1.162 MB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.3038, allocations: 1.091 MB / 445 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.3061, allocations: 1.234 MB / 446.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008123/0.3069, allocations: 291.9 kB / 446.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3083, allocations: 383.8 kB / 446.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.3094, allocations: 0.7129 MB / 447.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.3118, allocations: 1.229 MB / 448.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.3168, allocations: 3.799 MB / 452.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.3168, allocations: 4 kB / 452.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3168, allocations: 0 / 452.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.3169, allocations: 0 / 452.6 MB, free: 1.27 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.005566/0.3225, allocations: 2.369 MB / 455 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.3225, allocations: 8.031 kB / 455 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003933/0.3229, allocations: 270.2 kB / 455.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00098/0.3239, allocations: 291.5 kB / 455.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.3264, allocations: 1.311 MB / 456.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3266, allocations: 135.5 kB / 457 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.3268, allocations: 176 kB / 457.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.3309, allocations: 2.547 MB / 459.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.3309, allocations: 0 / 459.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.3311, allocations: 75.98 kB / 459.8 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.3312, allocations: 95.52 kB / 459.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.3348, allocations: 2.11 MB / 462 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.3461, allocations: 7.236 MB / 469.2 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3474, allocations: 0.7129 MB / 470 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.3481, allocations: 446.6 kB / 470.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.3483, allocations: 48.39 kB / 470.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3484, allocations: 39 kB / 470.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.966e-06/0.3484, allocations: 0 / 470.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004337/0.3527, allocations: 2.129 MB / 472.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.3528, allocations: 85.55 kB / 472.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.355, allocations: 1.532 MB / 474.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.3551, allocations: 33.7 kB / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.3558, allocations: 0.9979 MB / 475.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.356, allocations: 210.2 kB / 475.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.3563, allocations: 250.7 kB / 475.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3565, allocations: 349.9 kB / 476 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.3572, allocations: 462.3 kB / 476.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.3584, allocations: 1.098 MB / 477.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.3604, allocations: 1.615 MB / 479.2 MB, free: 5.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3604, allocations: 4 kB / 479.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002792/0.3632, allocations: 1.691 MB / 480.9 MB, free: 3.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.3632, allocations: 16 kB / 480.9 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.3633, allocations: 24 kB / 480.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007463/0.364, allocations: 181.1 kB / 481.1 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/0.3649, allocations: 283.5 kB / 481.4 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.3674, allocations: 2.246 MB / 483.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3684, allocations: 91.81 kB / 483.7 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3685, allocations: 68 kB / 483.8 MB, free: 0.8867 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.001171/0.3697, allocations: 0.7118 MB / 484.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.37, allocations: 135.2 kB / 484.6 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.3716, allocations: 0.8412 MB / 485.5 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3716, allocations: 4 kB / 485.5 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3716, allocations: 4.188 kB / 485.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3716, allocations: 7.984 kB / 485.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.3764, allocations: 2.471 MB / 488 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3764, allocations: 352 / 488 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.3768, allocations: 107.9 kB / 488.1 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/0.3774, allocations: 144.7 kB / 488.2 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.3775, allocations: 12 kB / 488.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.3799, allocations: 2.207 MB / 490.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3799, allocations: 4.062 kB / 490.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.3821, allocations: 1.325 MB / 491.8 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006987/0.3828, allocations: 211.1 kB / 492 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.3831, allocations: 19.98 kB / 492 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.3838, allocations: 43.97 kB / 492 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.384, allocations: 51.86 kB / 492.1 MB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.384, allocations: 23.98 kB / 492.1 MB, free: 8.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.3859, allocations: 1.048 MB / 493.2 MB, free: 7.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3859, allocations: 0 / 493.2 MB, free: 7.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001539/0.3875, allocations: 347.9 kB / 493.5 MB, free: 6.906 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.002854/0.3903, allocations: 1.952 MB / 495.4 MB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.3927, allocations: 1.122 MB / 496.6 MB, free: 3.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.3927, allocations: 4.25 kB / 496.6 MB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008943/0.3936, allocations: 0.4902 MB / 497.1 MB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.3957, allocations: 377.9 kB / 497.4 MB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.4185, allocations: 13.97 MB / 0.4994 GB, free: 4.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.42, allocations: 1.71 MB / 0.5011 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008943/0.4209, allocations: 323.4 kB / 0.5014 GB, free: 1.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/0.4217, allocations: 0.6125 MB / 0.502 GB, free: 1.371 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4217, allocations: 0 / 0.502 GB, free: 1.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3115/0.7332, allocations: 35.05 MB / 0.5362 GB, free: 97.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.82, allocations: 9.625 kB / 0.5362 GB, free: 97.98 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.344616479007527]