Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002205/0.002205, allocations: 209.9 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.77 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2387, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007629/0.2464, allocations: 5.969 MB / 438.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.2501, allocations: 2.146 MB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.2505, allocations: 51.62 kB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.2514, allocations: 413 kB / 441 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.2526, allocations: 0.5827 MB / 441.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.253, allocations: 223.7 kB / 441.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002334/0.2553, allocations: 2.229 MB / 444 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.2569, allocations: 1.159 MB / 445.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.2588, allocations: 1.103 MB / 446.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.2604, allocations: 1.238 MB / 447.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.2607, allocations: 292 kB / 447.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.2614, allocations: 375.8 kB / 448.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007474/0.2622, allocations: 0.7129 MB / 448.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.2636, allocations: 1.229 MB / 450.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.2675, allocations: 3.794 MB / 453.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2676, allocations: 11.94 kB / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2676, allocations: 0 / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.2676, allocations: 0 / 453.9 MB, free: 1.344 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.004292/0.2719, allocations: 2.361 MB / 456.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2719, allocations: 8.031 kB / 456.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.2728, allocations: 295.5 kB / 456.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.2752, allocations: 1.307 MB / 457.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.2753, allocations: 139.5 kB / 458 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.2756, allocations: 172 kB / 458.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.2799, allocations: 2.551 MB / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.2799, allocations: 0 / 460.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.2801, allocations: 75.98 kB / 460.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.2802, allocations: 99.58 kB / 460.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.2837, allocations: 2.106 MB / 463 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.2948, allocations: 7.248 MB / 470.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.2961, allocations: 0.7036 MB / 471 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.2968, allocations: 446.6 kB / 471.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.297, allocations: 32.41 kB / 471.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.297, allocations: 42.98 kB / 471.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.014e-06/0.297, allocations: 0 / 471.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.003986/0.301, allocations: 2.141 MB / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3011, allocations: 85.66 kB / 473.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.3032, allocations: 1.521 MB / 475.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.3032, allocations: 37.7 kB / 475.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007969/0.304, allocations: 0.9979 MB / 476.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3042, allocations: 210.3 kB / 476.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.3046, allocations: 246.7 kB / 476.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3048, allocations: 357.9 kB / 477 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/0.3055, allocations: 458.3 kB / 477.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.3068, allocations: 1.098 MB / 478.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.3089, allocations: 1.615 MB / 480.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.3089, allocations: 7.938 kB / 480.2 MB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002822/0.3117, allocations: 1.692 MB / 481.9 MB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3118, allocations: 20.03 kB / 481.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.3118, allocations: 24 kB / 481.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000745/0.3125, allocations: 176.6 kB / 482.1 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.3134, allocations: 279.5 kB / 482.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.3161, allocations: 2.254 MB / 484.6 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/0.3169, allocations: 91.81 kB / 484.7 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/0.317, allocations: 68 kB / 484.8 MB, free: 1.234 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.001009/0.318, allocations: 0.7079 MB / 485.5 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.3183, allocations: 135.2 kB / 485.6 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.3198, allocations: 0.8452 MB / 486.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3198, allocations: 4 kB / 486.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3198, allocations: 4 kB / 486.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3198, allocations: 0 / 486.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00398/0.3238, allocations: 2.479 MB / 489 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3238, allocations: 0 / 489 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.3242, allocations: 95.88 kB / 489.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.3249, allocations: 157.2 kB / 489.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.3249, allocations: 16 kB / 489.2 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.3274, allocations: 2.195 MB / 491.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.3274, allocations: 8.016 kB / 491.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.3294, allocations: 1.325 MB / 492.8 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.3299, allocations: 211.1 kB / 493 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.3301, allocations: 20.05 kB / 493 MB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.3307, allocations: 51.91 kB / 493 MB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3308, allocations: 47.8 kB / 493.1 MB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.3308, allocations: 24 kB / 493.1 MB, free: 8.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.3323, allocations: 1.048 MB / 494.2 MB, free: 7.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3323, allocations: 0 / 494.2 MB, free: 7.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001242/0.3336, allocations: 347.9 kB / 494.5 MB, free: 7.254 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.0004247/0.334, allocations: 192.3 kB / 494.7 MB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.3359, allocations: 1.113 MB / 495.8 MB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3359, allocations: 0 / 495.8 MB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.3368, allocations: 0.5004 MB / 496.3 MB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.3382, allocations: 369.3 kB / 496.7 MB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.3433, allocations: 3.274 MB / 499.9 MB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.3448, allocations: 1.702 MB / 0.4899 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007694/0.3456, allocations: 323.3 kB / 0.4902 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.3458, allocations: 91.42 kB / 0.4903 GB, free: 15.58 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3458, allocations: 7.875 kB / 0.4903 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.03503/0.3808, allocations: 19.92 MB / 0.5097 GB, free: 11.88 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 4.968427279964089]