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.001534/0.001534, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001699/0.001699, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.57/1.57, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001624/0.001624, allocations: 47.94 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4896, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01155/0.5011, allocations: 5.885 MB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00683/0.508, allocations: 2.153 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.5092, allocations: 55.62 kB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.5105, allocations: 385.5 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.5135, allocations: 0.8356 MB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5146, allocations: 354.5 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.5196, allocations: 3.199 MB / 445.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.5215, allocations: 1.098 MB / 446.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.5242, allocations: 1.332 MB / 447.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.5267, allocations: 1.654 MB / 449.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00063/0.5273, allocations: 296 kB / 449.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.5286, allocations: 435.8 kB / 450 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009625/0.5295, allocations: 0.8529 MB / 450.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.5316, allocations: 1.186 MB / 452 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006524/0.5381, allocations: 4.141 MB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.5381, allocations: 0 / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5381, allocations: 4 kB / 456.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.5383, allocations: 0 / 456.2 MB, free: 14.75 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.0107/0.549, allocations: 3.478 MB / 459.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.549, allocations: 12.03 kB / 459.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.5537, allocations: 0.7446 MB / 460.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.5587, allocations: 1.691 MB / 462.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.5589, allocations: 177 kB / 462.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000744/0.5597, allocations: 236 kB / 462.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008456/0.5681, allocations: 3.433 MB / 465.9 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/0.5682, allocations: 0 / 465.9 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.5685, allocations: 92 kB / 466 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.5686, allocations: 66 kB / 466.1 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006099/0.5747, allocations: 2.87 MB / 469 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.5958, allocations: 8.032 MB / 477 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/0.6005, allocations: 1.829 MB / 478.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.6019, allocations: 0.76 MB / 479.6 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004982/0.6068, allocations: 2.055 MB / 481.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/0.6069, allocations: 50.81 kB / 481.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 4.218e-06/0.6069, allocations: 0 / 481.7 MB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009571/0.6165, allocations: 4.124 MB / 485.8 MB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.6166, allocations: 115.2 kB / 485.9 MB, free: 324 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.619, allocations: 1.6 MB / 487.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.6192, allocations: 41.7 kB / 487.6 MB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/0.6201, allocations: 1.145 MB / 488.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.6205, allocations: 372.9 kB / 489.1 MB, free: 13.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.6209, allocations: 238.8 kB / 489.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6211, allocations: 357.9 kB / 489.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6222, allocations: 0.6349 MB / 490.3 MB, free: 11.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.6237, allocations: 1.027 MB / 491.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.6264, allocations: 1.689 MB / 493 MB, free: 8.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.6264, allocations: 4 kB / 493 MB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003889/0.6303, allocations: 1.957 MB / 495 MB, free: 6.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.6303, allocations: 14.66 kB / 495 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.6303, allocations: 12 kB / 495 MB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004159/0.6307, allocations: 125.6 kB / 495.1 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.6321, allocations: 335.6 kB / 495.4 MB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.6356, allocations: 3.167 MB / 498.6 MB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.6372, allocations: 99.67 kB / 498.7 MB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6373, allocations: 59.98 kB / 498.8 MB, free: 2.887 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.001683/0.639, allocations: 0.8289 MB / 499.6 MB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/0.6394, allocations: 155 kB / 499.7 MB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/0.6422, allocations: 1.393 MB / 0.4894 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.6422, allocations: 8 kB / 0.4894 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.6422, allocations: 4 kB / 0.4894 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6423, allocations: 7.984 kB / 0.4894 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.6466, allocations: 1.96 MB / 0.4913 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6466, allocations: 0 / 0.4913 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.6475, allocations: 183.8 kB / 0.4915 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/0.6483, allocations: 258.4 kB / 0.4917 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.304e-05/0.6484, allocations: 35.97 kB / 0.4918 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006628/0.655, allocations: 5.825 MB / 0.4975 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.655, allocations: 7.969 kB / 0.4975 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.6596, allocations: 2.549 MB / 0.5 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007265/0.6604, allocations: 178.9 kB / 0.5001 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6606, allocations: 27.98 kB / 0.5002 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009175/0.6615, allocations: 99.89 kB / 0.5003 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.6618, allocations: 100 kB / 0.5004 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/0.6619, allocations: 35.98 kB / 0.5004 GB, free: 4.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001804/0.6637, allocations: 1.099 MB / 0.5015 GB, free: 3.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6637, allocations: 0 / 0.5015 GB, free: 3.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00197/0.6657, allocations: 455.9 kB / 0.5019 GB, free: 3.266 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.0003902/0.666, allocations: 159 kB / 0.502 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.6695, allocations: 1.67 MB / 0.5037 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6695, allocations: 0 / 0.5037 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.6716, allocations: 1.15 MB / 0.5048 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.6734, allocations: 249.6 kB / 0.505 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.6825, allocations: 4.746 MB / 0.5097 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.6843, allocations: 1.539 MB / 0.5112 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.6856, allocations: 447.2 kB / 0.5116 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.6859, allocations: 107.4 kB / 0.5117 GB, free: 9.039 MB / 430.1 MB Notification: Performance of SimCode: time 1.773e-06/0.6859, allocations: 0 / 0.5117 GB, free: 9.039 MB / 430.1 MB Notification: Performance of Templates: time 0.04221/0.7282, allocations: 22.52 MB / 0.5337 GB, free: 2.844 MB / 446.1 MB " [Timeout remaining time 659] 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 cvode -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: 6.476126057998044]