Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001714/0.001714, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002084/0.002084, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 43.94 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2037, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008009/0.2117, allocations: 5.886 MB / 438.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.2154, allocations: 2.157 MB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.2158, allocations: 51.69 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.2166, allocations: 381.5 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.2185, allocations: 0.8356 MB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.2193, allocations: 367.2 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.2228, allocations: 3.187 MB / 445.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.2243, allocations: 1.098 MB / 446.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.2258, allocations: 1.332 MB / 447.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.2278, allocations: 1.658 MB / 449.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.2282, allocations: 296 kB / 449.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008254/0.229, allocations: 423.9 kB / 450 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007875/0.2298, allocations: 0.8645 MB / 450.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.2311, allocations: 1.186 MB / 452 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.2353, allocations: 4.145 MB / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2353, allocations: 4 kB / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2353, allocations: 0 / 456.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.727e-05/0.2354, allocations: 0 / 456.2 MB, free: 14.71 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.007721/0.2431, allocations: 3.478 MB / 459.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2431, allocations: 8.031 kB / 459.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.2475, allocations: 0.7485 MB / 460.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.251, allocations: 1.695 MB / 462.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.2512, allocations: 169 kB / 462.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.2515, allocations: 236.1 kB / 462.5 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005556/0.2571, allocations: 3.429 MB / 465.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.2571, allocations: 3.938 kB / 465.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.2574, allocations: 96 kB / 466 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-05/0.2575, allocations: 69.98 kB / 466.1 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004855/0.2623, allocations: 2.862 MB / 469 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.2765, allocations: 8.024 MB / 477 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.2807, allocations: 1.838 MB / 478.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.282, allocations: 0.7523 MB / 479.6 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003913/0.2859, allocations: 2.063 MB / 481.6 MB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.2859, allocations: 42.89 kB / 481.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.876e-06/0.2859, allocations: 0 / 481.7 MB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.007877/0.2938, allocations: 4.128 MB / 485.8 MB, free: 436 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.2939, allocations: 119.2 kB / 485.9 MB, free: 292 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.296, allocations: 1.596 MB / 487.5 MB, free: 14.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.296, allocations: 45.7 kB / 487.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008575/0.2969, allocations: 1.141 MB / 488.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.2972, allocations: 368.9 kB / 489.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/0.2976, allocations: 242.8 kB / 489.3 MB, free: 12.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2978, allocations: 361.9 kB / 489.7 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.2989, allocations: 0.6349 MB / 490.3 MB, free: 11.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.3004, allocations: 1.019 MB / 491.3 MB, free: 10.69 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/0.3031, allocations: 1.697 MB / 493 MB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.3031, allocations: 4 kB / 493 MB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003436/0.3065, allocations: 1.952 MB / 495 MB, free: 6.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3065, allocations: 11.69 kB / 495 MB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.3065, allocations: 12 kB / 495 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.3069, allocations: 137.5 kB / 495.1 MB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.3083, allocations: 331.5 kB / 495.4 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.3115, allocations: 3.159 MB / 498.6 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009408/0.3124, allocations: 103.8 kB / 498.7 MB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3125, allocations: 55.98 kB / 498.8 MB, free: 2.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001228/0.3137, allocations: 0.833 MB / 499.6 MB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.314, allocations: 155 kB / 499.7 MB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.3167, allocations: 1.385 MB / 0.4894 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3167, allocations: 15.94 kB / 0.4894 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3167, allocations: 4 kB / 0.4894 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3167, allocations: 7.984 kB / 0.4894 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.3203, allocations: 1.963 MB / 0.4913 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3203, allocations: 4 kB / 0.4913 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008911/0.3212, allocations: 183.8 kB / 0.4915 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/0.3219, allocations: 262.3 kB / 0.4918 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/0.322, allocations: 35.97 kB / 0.4918 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/0.3282, allocations: 5.817 MB / 0.4975 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3282, allocations: 4.031 kB / 0.4975 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.3323, allocations: 2.557 MB / 0.5 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.3327, allocations: 182.9 kB / 0.5001 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.3329, allocations: 28 kB / 0.5002 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.3338, allocations: 91.89 kB / 0.5003 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.334, allocations: 100.1 kB / 0.5004 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.3341, allocations: 31.98 kB / 0.5004 GB, free: 4.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.3357, allocations: 1.099 MB / 0.5015 GB, free: 3.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3357, allocations: 4 kB / 0.5015 GB, free: 3.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00145/0.3372, allocations: 459.9 kB / 0.5019 GB, free: 3.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.3375, allocations: 163 kB / 0.5021 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.3404, allocations: 1.661 MB / 0.5037 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3404, allocations: 192 / 0.5037 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.3423, allocations: 1.148 MB / 0.5048 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.3437, allocations: 253.6 kB / 0.505 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.351, allocations: 4.739 MB / 0.5097 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.3527, allocations: 1.542 MB / 0.5112 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.3538, allocations: 447.2 kB / 0.5116 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.3541, allocations: 99.42 kB / 0.5117 GB, free: 9.023 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3541, allocations: 0 / 0.5117 GB, free: 9.023 MB / 430.1 MB Notification: Performance of Templates: time 0.03805/0.3921, allocations: 22.53 MB / 0.5337 GB, free: 2.824 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 5.875274552992778]