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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 104.5 kB / 21.18 MB, free: 0.5586 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.001508/0.001508, allocations: 189.2 kB / 24.47 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "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.001693/0.001693, allocations: 51.92 kB / 347.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3028, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01042/0.3132, allocations: 9.978 MB / 406.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007798/0.321, allocations: 3.383 MB / 410.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.323, allocations: 73.16 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009498/0.3325, allocations: 3.887 MB / 414.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.3378, allocations: 1.477 MB / 415.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002947/0.3408, allocations: 1.168 MB / 416.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.3528, allocations: 9.224 MB / 426 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02342/0.3762, allocations: 12.21 MB / 438.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009313/0.3855, allocations: 5.171 MB / 443.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.3964, allocations: 6.149 MB / 449.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003676/0.4001, allocations: 1.398 MB / 450.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006123/0.4062, allocations: 1.633 MB / 452.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.4104, allocations: 2.934 MB / 455.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009596/0.42, allocations: 5.455 MB / 461 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02342/0.4434, allocations: 18.74 MB / 479.7 MB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4434, allocations: 0 / 479.7 MB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4434, allocations: 0 / 479.7 MB, free: 232 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006025/0.444, allocations: 0 / 479.7 MB, free: 232 kB / 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.03894/0.4829, allocations: 12.39 MB / 492.1 MB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.483, allocations: 11.98 kB / 492.1 MB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04723/0.5302, allocations: 8.546 MB / 0.4889 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.5462, allocations: 5.497 MB / 0.4943 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007093/0.5469, allocations: 0.6584 MB / 0.4949 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004301/0.5512, allocations: 0.8671 MB / 0.4958 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04054/0.5917, allocations: 15.97 MB / 0.5114 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/0.592, allocations: 15.89 kB / 0.5114 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/0.5942, allocations: 368 kB / 0.5117 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006094/0.5948, allocations: 0.5582 MB / 0.5123 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/0.628, allocations: 15.72 MB / 0.5276 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3743/1.002, allocations: 46.59 MB / 0.5731 GB, free: 117.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/1.019, allocations: 8.476 MB / 0.5814 GB, free: 117.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004894/1.024, allocations: 3.242 MB / 0.5846 GB, free: 117.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/1.025, allocations: 107.1 kB / 0.5847 GB, free: 117.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.799e-05/1.025, allocations: 79.72 kB / 0.5847 GB, free: 117.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.432e-06/1.025, allocations: 0 / 0.5847 GB, free: 117.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02047/1.045, allocations: 11.07 MB / 0.5956 GB, free: 114.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/1.045, allocations: 134.7 kB / 0.5957 GB, free: 114.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/1.051, allocations: 3.849 MB / 0.5994 GB, free: 113.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007069/1.052, allocations: 100.8 kB / 0.5995 GB, free: 113.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002662/1.055, allocations: 4.048 MB / 0.6035 GB, free: 110 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.056, allocations: 1.689 MB / 0.6051 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002247/1.059, allocations: 1.471 MB / 0.6066 GB, free: 107.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/1.059, allocations: 304.7 kB / 0.6069 GB, free: 107.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004663/1.063, allocations: 3.682 MB / 0.6105 GB, free: 105.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00624/1.07, allocations: 6.528 MB / 0.6168 GB, free: 99.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.08, allocations: 10.83 MB / 0.6274 GB, free: 88.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.434e-05/1.08, allocations: 24 kB / 0.6274 GB, free: 88.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01793/1.098, allocations: 11.92 MB / 0.6391 GB, free: 76.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/1.098, allocations: 54.23 kB / 0.6391 GB, free: 76.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/1.099, allocations: 92 kB / 0.6392 GB, free: 76.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/1.103, allocations: 1.623 MB / 0.6408 GB, free: 74.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.109, allocations: 1.669 MB / 0.6424 GB, free: 73.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/1.124, allocations: 17.05 MB / 0.6591 GB, free: 55.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007294/1.131, allocations: 0.9742 MB / 0.66 GB, free: 54.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/1.133, allocations: 360 kB / 0.6604 GB, free: 54.01 MB / 478.1 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.007694/1.141, allocations: 3.757 MB / 0.6641 GB, free: 50.24 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.142, allocations: 409.3 kB / 0.6644 GB, free: 49.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.155, allocations: 8.526 MB / 0.6728 GB, free: 41.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/1.155, allocations: 51.94 kB / 0.6728 GB, free: 41.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/1.155, allocations: 12 kB / 0.6728 GB, free: 41.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.414e-05/1.155, allocations: 27.91 kB / 0.6729 GB, free: 41.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02923/1.184, allocations: 16.81 MB / 0.6893 GB, free: 24.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.184, allocations: 4 kB / 0.6893 GB, free: 24.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/1.187, allocations: 0.862 MB / 0.6901 GB, free: 23.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/1.191, allocations: 1.519 MB / 0.6916 GB, free: 21.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007483/1.192, allocations: 104 kB / 0.6917 GB, free: 21.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.207, allocations: 16.86 MB / 0.7082 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.207, allocations: 4 kB / 0.7082 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02326/1.23, allocations: 12.21 MB / 0.7201 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004898/1.235, allocations: 1.089 MB / 0.7212 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/1.237, allocations: 84 kB / 0.7212 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004446/1.242, allocations: 303.7 kB / 0.7215 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/1.244, allocations: 339.3 kB / 0.7219 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001201/1.245, allocations: 136 kB / 0.722 GB, free: 5.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007398/1.253, allocations: 2.574 MB / 0.7245 GB, free: 3.305 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.253, allocations: 0 / 0.7245 GB, free: 3.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01265/1.265, allocations: 2.407 MB / 0.7268 GB, free: 0.8867 MB / 494.1 MB 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.001966/1.267, allocations: 263.2 kB / 0.7271 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02189/1.289, allocations: 8.993 MB / 0.7359 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.289, allocations: 8.188 kB / 0.7359 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01041/1.3, allocations: 4.163 MB / 0.74 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006897/1.306, allocations: 0.7396 MB / 0.7407 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04264/1.349, allocations: 17.2 MB / 0.7575 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2737/1.623, allocations: 6.039 MB / 0.7634 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009208/1.632, allocations: 3.256 MB / 0.7665 GB, free: 162 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.633, allocations: 378 kB / 0.7669 GB, free: 162 MB / 0.5137 GB Notification: Performance of SimCode: time 1.664e-06/1.633, allocations: 0 / 0.7669 GB, free: 162 MB / 0.5137 GB Notification: Performance of Templates: time 0.1147/1.748, allocations: 72.06 MB / 0.8373 GB, free: 112.8 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.194515432231128]