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.001596/0.001596, allocations: 115.4 kB / 18.41 MB, free: 4.648 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.001572/0.001572, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.435/1.435, allocations: 222.9 MB / 247 MB, free: 4.332 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.001516/0.001516, allocations: 51.92 kB / 358.7 MB, free: 8.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09071, allocations: 49.42 MB / 408.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007563/0.0983, allocations: 5.902 MB / 414 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003755/0.1021, allocations: 2.072 MB / 416.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.1026, allocations: 39.81 kB / 416.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.1035, allocations: 385.4 kB / 416.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.1048, allocations: 0.5554 MB / 417 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1052, allocations: 219.7 kB / 417.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.1076, allocations: 2.21 MB / 419.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002583/0.1102, allocations: 2.22 MB / 421.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.1123, allocations: 1.06 MB / 422.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.1141, allocations: 1.203 MB / 423.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.1145, allocations: 288 kB / 424.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007534/0.1153, allocations: 375.8 kB / 424.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007257/0.116, allocations: 0.713 MB / 425.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.1175, allocations: 1.221 MB / 426.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.1216, allocations: 3.788 MB / 430.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1217, allocations: 0 / 430.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1217, allocations: 4 kB / 430.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.842e-05/0.1217, allocations: 4 kB / 430.3 MB, free: 0.6094 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.1722/0.294, allocations: 2.43 MB / 432.8 MB, free: 21.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.294, allocations: 12.23 kB / 432.8 MB, free: 21.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.2946, allocations: 264.4 kB / 433 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.2964, allocations: 1.354 MB / 434.4 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.2965, allocations: 133.1 kB / 434.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.2967, allocations: 170.2 kB / 434.7 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.3006, allocations: 2.548 MB / 437.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.3006, allocations: 0.6562 kB / 437.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.3008, allocations: 79.89 kB / 437.3 MB, free: 20.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.206e-05/0.3009, allocations: 97.02 kB / 437.4 MB, free: 20.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.304, allocations: 2.112 MB / 439.5 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009643/0.3137, allocations: 7.381 MB / 446.9 MB, free: 17.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.3149, allocations: 1.26 MB / 448.2 MB, free: 16.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.3156, allocations: 479.5 kB / 448.6 MB, free: 16.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.3158, allocations: 116.2 kB / 448.7 MB, free: 16.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3158, allocations: 40.41 kB / 448.8 MB, free: 16.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/0.3158, allocations: 4 kB / 448.8 MB, free: 16.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003618/0.3195, allocations: 2.292 MB / 451.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3195, allocations: 91.44 kB / 451.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.3214, allocations: 1.502 MB / 452.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.3214, allocations: 37.05 kB / 452.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.3218, allocations: 1.007 MB / 453.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.3219, allocations: 197.7 kB / 453.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.3222, allocations: 242.2 kB / 454.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.3223, allocations: 357 kB / 454.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.3229, allocations: 459.5 kB / 454.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/0.3237, allocations: 1.09 MB / 456 MB, free: 11.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.3252, allocations: 1.62 MB / 457.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.3252, allocations: 6.344 kB / 457.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002309/0.3275, allocations: 1.697 MB / 459.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3276, allocations: 15.81 kB / 459.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.3276, allocations: 23.72 kB / 459.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.3283, allocations: 177.6 kB / 459.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.329, allocations: 287.9 kB / 459.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.3307, allocations: 2.369 MB / 462.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.3317, allocations: 89.19 kB / 462.3 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/0.3318, allocations: 65.84 kB / 462.4 MB, free: 6.508 MB / 350.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.0008228/0.3327, allocations: 0.7058 MB / 463.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.3329, allocations: 141.1 kB / 463.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3342, allocations: 0.8337 MB / 464 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3342, allocations: 5.406 kB / 464 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3342, allocations: 1.188 kB / 464 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3342, allocations: 3.984 kB / 464 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.3374, allocations: 2.491 MB / 466.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3375, allocations: 7.984 kB / 466.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3378, allocations: 96.17 kB / 466.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005856/0.3384, allocations: 160.6 kB / 466.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.3385, allocations: 12 kB / 466.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.34, allocations: 2.313 MB / 469.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.34, allocations: 7.75 kB / 469.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.3419, allocations: 1.314 MB / 470.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.3425, allocations: 292.2 kB / 470.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.3426, allocations: 16 kB / 470.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.3433, allocations: 47.8 kB / 470.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3434, allocations: 51.88 kB / 470.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.3435, allocations: 23.98 kB / 470.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.3451, allocations: 1.032 MB / 471.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3451, allocations: 0 / 471.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001412/0.3465, allocations: 348 kB / 472.2 MB, free: 13.33 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.000433/0.3469, allocations: 190.2 kB / 472.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.349, allocations: 1.161 MB / 473.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.349, allocations: 0 / 473.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.3499, allocations: 0.5126 MB / 474.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.3515, allocations: 377.5 kB / 474.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.357, allocations: 3.233 MB / 477.7 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.3586, allocations: 1.661 MB / 479.4 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.3589, allocations: 91.42 kB / 479.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3589, allocations: 4 kB / 479.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of Templates: time 0.04574/0.4046, allocations: 32.32 MB / 0.4998 GB, free: 5.789 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.585410027066246]