Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 107.9 kB / 18.4 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 186.4 kB / 19.33 MB, free: 3.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09632, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.208/0.3044, allocations: 9.932 MB / 385.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006904/0.3113, allocations: 3.34 MB / 389.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.3131, allocations: 61.38 kB / 389.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008187/0.3213, allocations: 3.828 MB / 393 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.3263, allocations: 1.408 MB / 394.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.3289, allocations: 1.141 MB / 395.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.3409, allocations: 9.135 MB / 404.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02917/0.3701, allocations: 20.34 MB / 425 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009268/0.3794, allocations: 5.07 MB / 430.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.39, allocations: 6.079 MB / 436.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004031/0.394, allocations: 1.398 MB / 437.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/0.3998, allocations: 1.633 MB / 439.2 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004576/0.4044, allocations: 2.915 MB / 442.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01022/0.4146, allocations: 5.451 MB / 447.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02033/0.435, allocations: 18.7 MB / 466.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.4351, allocations: 0 / 466.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4351, allocations: 0 / 466.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004825/0.4356, allocations: 0 / 466.3 MB, free: 5.094 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03612/0.4717, allocations: 12.27 MB / 478.5 MB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4718, allocations: 8.031 kB / 478.5 MB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04743/0.5192, allocations: 8.502 MB / 487 MB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.5321, allocations: 5.384 MB / 492.4 MB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/0.5328, allocations: 0.6661 MB / 493.1 MB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/0.5367, allocations: 0.8632 MB / 493.9 MB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/0.578, allocations: 15.98 MB / 0.498 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003021/0.5783, allocations: 7.906 kB / 0.498 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00279/0.5811, allocations: 368 kB / 0.4983 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005935/0.5817, allocations: 0.5699 MB / 0.4989 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03112/0.6129, allocations: 15.71 MB / 0.5142 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4781/1.091, allocations: 47.71 MB / 0.5608 GB, free: 119.7 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/1.109, allocations: 19.34 MB / 0.5797 GB, free: 106.5 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004892/1.114, allocations: 3.59 MB / 0.5832 GB, free: 106.5 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/1.114, allocations: 175.3 kB / 0.5834 GB, free: 106.4 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.083e-05/1.114, allocations: 88.34 kB / 0.5835 GB, free: 106.3 MB / 478.2 MB Notification: Performance of pre-optimization done (n=468): time 6.603e-06/1.114, allocations: 0 / 0.5835 GB, free: 106.3 MB / 478.2 MB Notification: Performance of matching and sorting (n=468): time 0.01971/1.134, allocations: 11.55 MB / 0.5947 GB, free: 104 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/1.134, allocations: 127.2 kB / 0.5949 GB, free: 103.9 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00585/1.14, allocations: 3.846 MB / 0.5986 GB, free: 102.6 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0004553/1.14, allocations: 104.5 kB / 0.5987 GB, free: 102.5 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.142, allocations: 3.891 MB / 0.6025 GB, free: 99.56 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.143, allocations: 1.608 MB / 0.6041 GB, free: 98.33 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/1.145, allocations: 1.47 MB / 0.6055 GB, free: 97.64 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/1.145, allocations: 308.8 kB / 0.6058 GB, free: 97.34 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004253/1.149, allocations: 3.683 MB / 0.6094 GB, free: 96.05 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/1.155, allocations: 6.527 MB / 0.6158 GB, free: 91.07 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.165, allocations: 10.83 MB / 0.6264 GB, free: 83.03 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.225e-05/1.165, allocations: 26.31 kB / 0.6264 GB, free: 83.03 MB / 478.2 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01587/1.181, allocations: 11.95 MB / 0.638 GB, free: 72.53 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/1.181, allocations: 51.94 kB / 0.6381 GB, free: 72.48 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.181, allocations: 92.31 kB / 0.6382 GB, free: 72.39 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/1.185, allocations: 1.622 MB / 0.6398 GB, free: 70.75 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/1.19, allocations: 1.661 MB / 0.6414 GB, free: 69.09 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/1.206, allocations: 17.65 MB / 0.6586 GB, free: 50.62 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/1.212, allocations: 0.9601 MB / 0.6596 GB, free: 49.66 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.214, allocations: 356 kB / 0.6599 GB, free: 49.31 MB / 478.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006302/1.22, allocations: 3.756 MB / 0.6636 GB, free: 45.54 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008319/1.221, allocations: 395.1 kB / 0.6639 GB, free: 45.15 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.233, allocations: 8.561 MB / 0.6723 GB, free: 36.5 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.233, allocations: 59.94 kB / 0.6724 GB, free: 36.45 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.555e-05/1.233, allocations: 12 kB / 0.6724 GB, free: 36.43 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-05/1.233, allocations: 27.84 kB / 0.6724 GB, free: 36.41 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02501/1.258, allocations: 16.79 MB / 0.6888 GB, free: 19.58 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.258, allocations: 8.062 kB / 0.6888 GB, free: 19.57 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/1.261, allocations: 0.8581 MB / 0.6896 GB, free: 18.71 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003839/1.265, allocations: 1.514 MB / 0.6911 GB, free: 17.18 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/1.265, allocations: 99.97 kB / 0.6912 GB, free: 17.08 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/1.28, allocations: 17.47 MB / 0.7083 GB, free: 14.79 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.28, allocations: 0 / 0.7083 GB, free: 14.79 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.299, allocations: 12.24 MB / 0.7202 GB, free: 2.336 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/1.302, allocations: 1.1 MB / 0.7213 GB, free: 1.211 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008273/1.303, allocations: 84 kB / 0.7214 GB, free: 1.129 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.305, allocations: 307.7 kB / 0.7217 GB, free: 0.8281 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008533/1.306, allocations: 315.5 kB / 0.722 GB, free: 0.5195 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003128/1.306, allocations: 152.1 kB / 0.7221 GB, free: 380 kB / 494.2 MB Notification: Performance of sorting global known variables: time 0.00424/1.31, allocations: 2.57 MB / 0.7246 GB, free: 13.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.4e-07/1.31, allocations: 0 / 0.7246 GB, free: 13.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008294/1.319, allocations: 2.373 MB / 0.7269 GB, free: 11.42 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008836/1.32, allocations: 262.9 kB / 0.7272 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01537/1.335, allocations: 9.385 MB / 0.7364 GB, free: 1.668 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.335, allocations: 3.938 kB / 0.7364 GB, free: 1.664 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008177/1.343, allocations: 4.473 MB / 0.7407 GB, free: 13.12 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/1.349, allocations: 0.7388 MB / 0.7415 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2772/1.626, allocations: 16.76 MB / 0.7578 GB, free: 166 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007897/1.634, allocations: 5.933 MB / 0.7636 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/1.636, allocations: 430.7 kB / 0.764 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.002e-06/1.636, allocations: 3.281 kB / 0.764 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.8486/2.485, allocations: 418.4 MB / 1.173 GB, free: 173.1 MB / 0.5294 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches