Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 114.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09649, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007256/0.1037, allocations: 5.936 MB / 424.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1074, allocations: 2.072 MB / 427 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.1079, allocations: 35.88 kB / 427 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009582/0.1088, allocations: 413.3 kB / 427.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.1104, allocations: 0.5632 MB / 428 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.1108, allocations: 219.7 kB / 428.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.1135, allocations: 2.214 MB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.1154, allocations: 1.592 MB / 432 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.1176, allocations: 1.05 MB / 433 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.1196, allocations: 1.234 MB / 434.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004744/0.12, allocations: 288 kB / 434.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.1208, allocations: 379.8 kB / 434.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006893/0.1215, allocations: 0.7168 MB / 435.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.123, allocations: 1.229 MB / 436.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.1272, allocations: 3.78 MB / 440.6 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1272, allocations: 4 kB / 440.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1272, allocations: 3.938 kB / 440.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.394e-05/0.1273, allocations: 0 / 440.7 MB, free: 6.262 MB / 366.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.004871/0.1321, allocations: 2.429 MB / 443.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1322, allocations: 15.89 kB / 443.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.1329, allocations: 267.4 kB / 443.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.1352, allocations: 1.353 MB / 444.7 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.1353, allocations: 135.5 kB / 444.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.1356, allocations: 180 kB / 445 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1899/0.3255, allocations: 2.536 MB / 447.6 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.3255, allocations: 3.344 kB / 447.6 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3257, allocations: 73.19 kB / 447.6 MB, free: 28.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-05/0.3258, allocations: 102.6 kB / 447.7 MB, free: 28.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.329, allocations: 2.109 MB / 449.8 MB, free: 28.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.3392, allocations: 7.377 MB / 457.2 MB, free: 24.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.3405, allocations: 1.229 MB / 458.4 MB, free: 23.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.3412, allocations: 446 kB / 458.9 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.3414, allocations: 120.5 kB / 459 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3414, allocations: 47.52 kB / 459 MB, free: 23.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.527e-06/0.3414, allocations: 0.6562 kB / 459 MB, free: 23.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003997/0.3454, allocations: 2.283 MB / 461.3 MB, free: 22.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3455, allocations: 83.91 kB / 461.4 MB, free: 22.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.3474, allocations: 1.51 MB / 462.9 MB, free: 21.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3475, allocations: 36.83 kB / 463 MB, free: 21.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.348, allocations: 0.9972 MB / 464 MB, free: 20.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3482, allocations: 212.5 kB / 464.2 MB, free: 20.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.3485, allocations: 239.8 kB / 464.4 MB, free: 20.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.3486, allocations: 360.2 kB / 464.7 MB, free: 20.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.3492, allocations: 454.9 kB / 465.2 MB, free: 20.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.3501, allocations: 1.097 MB / 466.3 MB, free: 19.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3516, allocations: 1.615 MB / 467.9 MB, free: 17.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3516, allocations: 8.062 kB / 467.9 MB, free: 17.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002384/0.354, allocations: 1.694 MB / 469.6 MB, free: 17.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.354, allocations: 15.03 kB / 469.6 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.354, allocations: 26.2 kB / 469.6 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006967/0.3547, allocations: 170.4 kB / 469.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.3555, allocations: 284.3 kB / 470.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.3573, allocations: 2.372 MB / 472.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000985/0.3583, allocations: 84.86 kB / 472.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.513e-05/0.3584, allocations: 69.06 kB / 472.6 MB, free: 14.96 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.0008998/0.3593, allocations: 0.7102 MB / 473.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.3595, allocations: 140.2 kB / 473.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.3609, allocations: 0.8446 MB / 474.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3609, allocations: 5.344 kB / 474.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3609, allocations: 5.484 kB / 474.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3609, allocations: 0 / 474.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.3642, allocations: 2.485 MB / 476.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3642, allocations: 3.984 kB / 476.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.3646, allocations: 97.86 kB / 476.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005885/0.3652, allocations: 155.1 kB / 477 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.3652, allocations: 14.88 kB / 477.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.3668, allocations: 2.306 MB / 479.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3668, allocations: 2.375 kB / 479.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.3686, allocations: 1.308 MB / 480.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.369, allocations: 293.4 kB / 481 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.3691, allocations: 19.09 kB / 481 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.3697, allocations: 44.19 kB / 481 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3698, allocations: 52.56 kB / 481.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.3698, allocations: 27.14 kB / 481.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001273/0.3711, allocations: 1.033 MB / 482.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 0 / 482.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001431/0.3726, allocations: 358.2 kB / 482.5 MB, free: 8.348 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.0004248/0.373, allocations: 196.2 kB / 482.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3746, allocations: 1.113 MB / 483.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3746, allocations: 2 kB / 483.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.3752, allocations: 0.4979 MB / 484.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.3768, allocations: 369.3 kB / 484.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.381, allocations: 3.246 MB / 487.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/0.3818, allocations: 1.662 MB / 489.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.3821, allocations: 95.42 kB / 489.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3821, allocations: 0 / 489.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of Templates: time 0.04379/0.4259, allocations: 32.43 MB / 0.5098 GB, free: 3.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.5613117730245]