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.00115/0.00115, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001329/0.001329, allocations: 169.4 kB / 25.61 MB, free: 8.918 MB / 18.57 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 0.9906/0.9906, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.106e-05, allocations: 3.406 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00507/0.005091, allocations: 5.746 MB / 279.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.007652, allocations: 2.094 MB / 282 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.007992, allocations: 55.62 kB / 282.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.008661, allocations: 397.3 kB / 282.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008586/0.009519, allocations: 0.6016 MB / 283.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.009794, allocations: 231.6 kB / 283.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.01127, allocations: 2.299 MB / 285.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.0123, allocations: 1.139 MB / 286.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.01392, allocations: 1.626 MB / 288.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.01502, allocations: 1.204 MB / 289.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.01529, allocations: 288 kB / 289.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.01569, allocations: 375.8 kB / 290.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.01615, allocations: 0.744 MB / 291 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000678/0.01683, allocations: 0.8654 MB / 291.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.01846, allocations: 2.037 MB / 293.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01847, allocations: 0 / 293.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01847, allocations: 0 / 293.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/0.01849, allocations: 4 kB / 293.9 MB, free: 0.6602 MB / 266.7 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.002661/0.02116, allocations: 2.494 MB / 296.4 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.02119, allocations: 8.031 kB / 296.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.02183, allocations: 439.4 kB / 296.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.023, allocations: 1.135 MB / 297.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.02308, allocations: 127.9 kB / 298.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.02328, allocations: 180.3 kB / 298.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.02492, allocations: 1.458 MB / 299.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.02495, allocations: 3.984 kB / 299.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.02506, allocations: 75.98 kB / 299.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.02514, allocations: 95.58 kB / 299.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.02586, allocations: 476.8 kB / 300.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/0.03198, allocations: 5.924 MB / 306.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.03246, allocations: 365.5 kB / 306.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.03268, allocations: 189.8 kB / 306.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.03279, allocations: 32.48 kB / 306.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.03282, allocations: 41.89 kB / 306.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 1.874e-06/0.03282, allocations: 0 / 306.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.001463/0.03428, allocations: 0.9978 MB / 307.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.03432, allocations: 81.61 kB / 307.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/0.0352, allocations: 1.152 MB / 309.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.03523, allocations: 41.7 kB / 309.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/0.03578, allocations: 1.114 MB / 310.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.03589, allocations: 214.3 kB / 310.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.03612, allocations: 268.3 kB / 310.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.03628, allocations: 0.5472 MB / 311.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.03642, allocations: 98.52 kB / 311.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.03701, allocations: 1.081 MB / 312.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/0.03786, allocations: 1.286 MB / 313.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.03786, allocations: 11.94 kB / 313.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001074/0.03894, allocations: 1.013 MB / 314.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.03896, allocations: 16 kB / 314.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.03898, allocations: 24.06 kB / 314.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.03935, allocations: 143.5 kB / 314.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.03982, allocations: 279.5 kB / 315.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.04112, allocations: 2.333 MB / 317.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.04154, allocations: 87.78 kB / 317.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.0416, allocations: 56 kB / 317.7 MB, free: 7.305 MB / 298.7 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.0002571/0.04185, allocations: 248 kB / 317.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.04201, allocations: 151.2 kB / 318.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.04251, allocations: 412.8 kB / 318.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.04252, allocations: 7.938 kB / 318.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.04252, allocations: 4 kB / 318.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.04253, allocations: 3.984 kB / 318.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.04432, allocations: 1.872 MB / 320.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.04432, allocations: 4 kB / 320.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.04451, allocations: 96.17 kB / 320.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.04483, allocations: 123.5 kB / 320.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.04485, allocations: 15.98 kB / 320.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.04601, allocations: 2.279 MB / 322.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.04601, allocations: 4 kB / 322.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.04668, allocations: 0.7439 MB / 323.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.04689, allocations: 167.2 kB / 323.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.04696, allocations: 23.98 kB / 323.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.04722, allocations: 39.97 kB / 323.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.04729, allocations: 55.8 kB / 323.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.04732, allocations: 12 kB / 323.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004391/0.04776, allocations: 0.5906 MB / 324.5 MB, free: 176 kB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04776, allocations: 4 kB / 324.5 MB, free: 172 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007541/0.04851, allocations: 348 kB / 324.9 MB, free: 15.82 MB / 314.7 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.0003192/0.04883, allocations: 189.9 kB / 325 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007254/0.04955, allocations: 0.729 MB / 325.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.04956, allocations: 128 / 325.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.04987, allocations: 389.8 kB / 326.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.05058, allocations: 275.9 kB / 326.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.0539, allocations: 2.779 MB / 329.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.05438, allocations: 0.5286 MB / 329.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004134/0.05479, allocations: 158 kB / 329.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005662/0.05536, allocations: 366 kB / 330.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.02e-07/0.05536, allocations: 0 / 330.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of Templates: time 0.02673/0.08209, allocations: 17.06 MB / 347.3 MB, free: 9.492 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3943406478501856]