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.001333/0.001333, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001336/0.001336, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.48/1.48, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001539/0.001539, allocations: 59.84 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.2127/0.3222, allocations: 5.94 MB / 432.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.3255, allocations: 2.137 MB / 434.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.326, allocations: 53.59 kB / 434.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008222/0.3268, allocations: 401.3 kB / 434.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.3279, allocations: 0.5663 MB / 435.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3283, allocations: 230.1 kB / 435.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.3303, allocations: 2.224 MB / 437.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.3321, allocations: 1.585 MB / 439.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.3343, allocations: 1.093 MB / 440.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.3359, allocations: 1.237 MB / 441.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.3364, allocations: 287.7 kB / 442 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007935/0.3372, allocations: 377.4 kB / 442.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.3378, allocations: 0.7202 MB / 443.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.339, allocations: 1.222 MB / 444.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.3439, allocations: 3.805 MB / 448.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3439, allocations: 0 / 448.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3439, allocations: 4 kB / 448.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001129/0.344, allocations: 0 / 448.2 MB, free: 1.945 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.006265/0.3503, allocations: 2.435 MB / 450.6 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.3503, allocations: 10.66 kB / 450.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004318/0.3508, allocations: 271.2 kB / 450.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.352, allocations: 292.2 kB / 451.2 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.3545, allocations: 1.383 MB / 452.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3546, allocations: 135 kB / 452.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.3548, allocations: 174.1 kB / 452.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/0.3591, allocations: 2.543 MB / 455.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.3591, allocations: 8.812 kB / 455.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.3593, allocations: 75.08 kB / 455.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.3594, allocations: 95.27 kB / 455.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.363, allocations: 2.104 MB / 457.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.3747, allocations: 7.374 MB / 465 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3763, allocations: 1.234 MB / 466.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.377, allocations: 448.4 kB / 466.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.3773, allocations: 115.9 kB / 466.8 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.3773, allocations: 42.59 kB / 466.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.494e-06/0.3773, allocations: 0 / 466.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004723/0.382, allocations: 2.291 MB / 469.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.3821, allocations: 86.3 kB / 469.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.3845, allocations: 1.52 MB / 470.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.3846, allocations: 36.39 kB / 470.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/0.3854, allocations: 0.9974 MB / 471.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3856, allocations: 205.9 kB / 472 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.3859, allocations: 245.7 kB / 472.2 MB, free: 2.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.3861, allocations: 361 kB / 472.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/0.3868, allocations: 455.7 kB / 473 MB, free: 1.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.3881, allocations: 1.089 MB / 474.1 MB, free: 140 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.3902, allocations: 1.623 MB / 475.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.3902, allocations: 5.188 kB / 475.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003122/0.3933, allocations: 1.692 MB / 477.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.3934, allocations: 20.16 kB / 477.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.3934, allocations: 24 kB / 477.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.3942, allocations: 176.6 kB / 477.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.3951, allocations: 283.5 kB / 477.9 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.3977, allocations: 2.357 MB / 480.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3991, allocations: 87.83 kB / 480.4 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3992, allocations: 72.86 kB / 480.4 MB, free: 9.352 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.001242/0.4004, allocations: 0.7078 MB / 481.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.4007, allocations: 139.1 kB / 481.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.4023, allocations: 0.8335 MB / 482.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4023, allocations: 5.266 kB / 482.1 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4023, allocations: 4 kB / 482.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4023, allocations: 3.984 kB / 482.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.4066, allocations: 2.506 MB / 484.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4066, allocations: 0 / 484.6 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.407, allocations: 95.83 kB / 484.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/0.4077, allocations: 157 kB / 484.9 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.4077, allocations: 12 kB / 484.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.4102, allocations: 2.312 MB / 487.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4102, allocations: 4.031 kB / 487.2 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.4123, allocations: 1.322 MB / 488.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.4129, allocations: 289.2 kB / 488.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.413, allocations: 16 kB / 488.8 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006012/0.4136, allocations: 48.03 kB / 488.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4137, allocations: 47.81 kB / 488.9 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.4138, allocations: 24 kB / 489 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001676/0.4155, allocations: 1.04 MB / 490 MB, free: 15.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4155, allocations: 0 / 490 MB, free: 15.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001698/0.4172, allocations: 348 kB / 490.3 MB, free: 15.12 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.002828/0.42, allocations: 1.96 MB / 492.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4222, allocations: 1.122 MB / 493.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4222, allocations: 0 / 493.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.4231, allocations: 0.4989 MB / 493.9 MB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.4249, allocations: 376.4 kB / 494.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/0.4469, allocations: 13.95 MB / 0.4963 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.4486, allocations: 1.706 MB / 0.498 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009218/0.4495, allocations: 323.4 kB / 0.4983 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/0.4504, allocations: 0.6164 MB / 0.4989 GB, free: 9.613 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4504, allocations: 0 / 0.4989 GB, free: 9.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08921/0.5396, allocations: 34.07 MB / 0.5322 GB, free: 7.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.07, allocations: 15.86 kB / 0.5322 GB, free: 7.914 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.621159280184656]