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.001696/0.001696, 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.002033/0.002033, 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.489/1.489, 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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 51.92 kB / 373.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09961, allocations: 53.33 MB / 426.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.1983/0.2979, allocations: 5.936 MB / 432.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.3022, allocations: 2.136 MB / 434.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.3028, allocations: 54.81 kB / 434.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009413/0.3037, allocations: 399.4 kB / 435.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.3049, allocations: 0.568 MB / 435.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.3053, allocations: 227.8 kB / 436.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.3073, allocations: 2.224 MB / 438.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.3092, allocations: 1.588 MB / 439.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.3115, allocations: 1.078 MB / 441 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.3132, allocations: 1.246 MB / 442.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.3136, allocations: 287 kB / 442.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/0.3144, allocations: 378 kB / 442.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006502/0.315, allocations: 0.7114 MB / 443.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.3163, allocations: 1.232 MB / 444.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.3205, allocations: 3.803 MB / 448.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3205, allocations: 0 / 448.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3205, allocations: 1.125 kB / 448.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.052e-05/0.3205, allocations: 0 / 448.6 MB, free: 1.848 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.004422/0.325, allocations: 2.439 MB / 451.1 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.325, allocations: 9.875 kB / 451.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.3259, allocations: 290.1 kB / 451.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.3281, allocations: 1.378 MB / 452.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.3283, allocations: 142.8 kB / 452.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003565/0.3286, allocations: 170.1 kB / 453.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004863/0.3335, allocations: 2.548 MB / 455.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.3335, allocations: 0 / 455.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.3337, allocations: 75.36 kB / 455.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3338, allocations: 90.84 kB / 455.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005099/0.3389, allocations: 2.117 MB / 457.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.3556, allocations: 7.371 MB / 465.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.3578, allocations: 1.231 MB / 466.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.3588, allocations: 455.7 kB / 466.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.3591, allocations: 115.5 kB / 467.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3592, allocations: 38.47 kB / 467.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.627e-06/0.3592, allocations: 0 / 467.1 MB, free: 5.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.006323/0.3655, allocations: 2.29 MB / 469.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.3656, allocations: 82.95 kB / 469.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.3688, allocations: 1.524 MB / 471 MB, free: 3.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.3688, allocations: 36.08 kB / 471 MB, free: 3.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.3699, allocations: 0.9934 MB / 472 MB, free: 2.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.3701, allocations: 205.8 kB / 472.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/0.3707, allocations: 247.1 kB / 472.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.371, allocations: 363.6 kB / 472.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.372, allocations: 457 kB / 473.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.3736, allocations: 1.094 MB / 474.4 MB, free: 44 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.3756, allocations: 1.615 MB / 476 MB, free: 14.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.3756, allocations: 9.625 kB / 476 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002866/0.3785, allocations: 1.691 MB / 477.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.3785, allocations: 12 kB / 477.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.3786, allocations: 24 kB / 477.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007835/0.3794, allocations: 177.1 kB / 477.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.3802, allocations: 279.5 kB / 478.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.3829, allocations: 2.366 MB / 480.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.384, allocations: 87.81 kB / 480.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.3841, allocations: 71.98 kB / 480.7 MB, free: 9.266 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.001108/0.3852, allocations: 0.7117 MB / 481.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.3855, allocations: 135.2 kB / 481.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.387, allocations: 0.8452 MB / 482.4 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.387, allocations: 8 kB / 482.4 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.387, allocations: 0 / 482.4 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.3871, allocations: 5.578 kB / 482.4 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.3911, allocations: 2.487 MB / 484.9 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3911, allocations: 7.938 kB / 484.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.3915, allocations: 91.88 kB / 485 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006456/0.3921, allocations: 148.8 kB / 485.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.3922, allocations: 15.98 kB / 485.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.3948, allocations: 2.316 MB / 487.4 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3948, allocations: 4 kB / 487.4 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.3969, allocations: 1.318 MB / 488.8 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.3975, allocations: 292.2 kB / 489 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.3976, allocations: 17.11 kB / 489.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.3983, allocations: 48.03 kB / 489.1 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3984, allocations: 47.81 kB / 489.1 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.3984, allocations: 20 kB / 489.2 MB, free: 436 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.4001, allocations: 1.04 MB / 490.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4001, allocations: 0 / 490.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001529/0.4017, allocations: 355.9 kB / 490.6 MB, free: 15.03 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.0005217/0.4022, allocations: 185.3 kB / 490.7 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.4042, allocations: 1.13 MB / 491.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4042, allocations: 0 / 491.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.4051, allocations: 0.5019 MB / 492.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.4067, allocations: 380.2 kB / 492.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.4128, allocations: 3.246 MB / 496 MB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.4145, allocations: 1.706 MB / 497.7 MB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009133/0.4154, allocations: 321.8 kB / 498 MB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.4157, allocations: 95.42 kB / 498.1 MB, free: 7.391 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4157, allocations: 4 kB / 498.1 MB, free: 7.387 MB / 398.1 MB Notification: Performance of Templates: time 0.0366/0.4523, allocations: 19.16 MB / 0.5051 GB, free: 4.426 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/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: 5.259846098721027]