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.001286/0.001286, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001414/0.001414, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001515/0.001515, allocations: 51.92 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2103, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00741/0.2177, allocations: 5.973 MB / 438.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.2217, allocations: 2.142 MB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.2222, allocations: 51.62 kB / 440.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.2232, allocations: 406.9 kB / 441 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.2246, allocations: 0.5827 MB / 441.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.225, allocations: 239.6 kB / 441.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.2275, allocations: 2.221 MB / 444 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.2291, allocations: 1.159 MB / 445.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.2312, allocations: 1.084 MB / 446.2 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.233, allocations: 1.238 MB / 447.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.2334, allocations: 288 kB / 447.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.234, allocations: 379.8 kB / 448.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006458/0.2347, allocations: 0.7207 MB / 448.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.236, allocations: 1.225 MB / 450.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.2401, allocations: 3.799 MB / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2401, allocations: 0 / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2401, allocations: 0 / 453.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.226e-05/0.2401, 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.004449/0.2446, allocations: 2.365 MB / 456.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2446, allocations: 12.03 kB / 456.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.2455, allocations: 287.5 kB / 456.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.2478, allocations: 1.319 MB / 457.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.2479, allocations: 135.5 kB / 458 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.2481, allocations: 172 kB / 458.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00402/0.2522, allocations: 2.555 MB / 460.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.2522, allocations: 0 / 460.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.2524, allocations: 75.98 kB / 460.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.2525, allocations: 91.58 kB / 460.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003407/0.2559, allocations: 2.118 MB / 463 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.2668, allocations: 7.24 MB / 470.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.268, allocations: 0.7148 MB / 470.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.2688, allocations: 442.5 kB / 471.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.2689, allocations: 40.41 kB / 471.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.269, allocations: 43 kB / 471.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/0.269, allocations: 0 / 471.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.003903/0.2729, allocations: 2.133 MB / 473.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.2729, allocations: 89.53 kB / 473.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.275, allocations: 1.517 MB / 475.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.275, allocations: 37.7 kB / 475.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008034/0.2758, allocations: 1.002 MB / 476.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.276, allocations: 206.3 kB / 476.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.2763, allocations: 242.8 kB / 476.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2765, allocations: 365.8 kB / 477 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.2772, allocations: 458.3 kB / 477.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.2785, allocations: 1.094 MB / 478.6 MB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.2805, allocations: 1.619 MB / 480.2 MB, free: 5.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.2805, allocations: 4 kB / 480.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002758/0.2832, allocations: 1.695 MB / 481.9 MB, free: 4.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.2833, allocations: 12 kB / 481.9 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.2833, allocations: 24 kB / 481.9 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007563/0.2841, allocations: 180.9 kB / 482.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.2849, allocations: 283.5 kB / 482.4 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.2876, allocations: 2.25 MB / 484.6 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.2886, allocations: 91.81 kB / 484.7 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.2887, allocations: 64 kB / 484.8 MB, free: 1.227 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.0011/0.2898, allocations: 0.7117 MB / 485.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.29, allocations: 139.1 kB / 485.6 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2915, allocations: 0.8373 MB / 486.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2915, allocations: 4 kB / 486.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2915, allocations: 4 kB / 486.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2916, allocations: 3.984 kB / 486.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.2955, allocations: 2.479 MB / 489 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2955, allocations: 0 / 489 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.2959, allocations: 104.2 kB / 489.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006129/0.2965, allocations: 144.7 kB / 489.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.2965, allocations: 19.98 kB / 489.2 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.2988, allocations: 2.203 MB / 491.4 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2988, allocations: 0 / 491.4 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.3008, allocations: 1.333 MB / 492.8 MB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.3014, allocations: 215.1 kB / 493 MB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.3015, allocations: 16 kB / 493 MB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/0.3021, allocations: 39.97 kB / 493 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3022, allocations: 59.84 kB / 493.1 MB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.3022, allocations: 20 kB / 493.1 MB, free: 8.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.3038, allocations: 1.04 MB / 494.1 MB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3038, allocations: 0 / 494.1 MB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001702/0.3055, allocations: 351.9 kB / 494.5 MB, free: 7.242 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.000515/0.306, allocations: 197.6 kB / 494.7 MB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.3081, allocations: 1.114 MB / 495.8 MB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3081, allocations: 0 / 495.8 MB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.3089, allocations: 0.5031 MB / 496.3 MB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.3105, allocations: 371.5 kB / 496.7 MB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.3162, allocations: 3.255 MB / 499.9 MB, free: 1.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.3176, allocations: 1.658 MB / 0.4898 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.318, allocations: 103.5 kB / 0.4899 GB, free: 15.93 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.318, allocations: 0 / 0.4899 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Templates: time 0.0468/0.3648, allocations: 32.55 MB / 0.5217 GB, free: 15.48 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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: 10.271244145929813]