Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.0009511/0.0009511, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009851/0.0009851, allocations: 168.3 kB / 25.33 MB, free: 9.445 MB / 18.57 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 0.8302/0.8302, allocations: 158.6 MB / 187.2 MB, free: 2.562 MB / 170.7 MB " [Timeout remaining time 179] 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.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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.546e-05, allocations: 5.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.003806/0.003822, allocations: 4.567 MB / 255.6 MB, free: 15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.006061, allocations: 1.71 MB / 257.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.006312, allocations: 31.81 kB / 257.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.006784, allocations: 278 kB / 257.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.008139, allocations: 0.6525 MB / 258.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.008528, allocations: 238.1 kB / 258.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.009992, allocations: 1.949 MB / 260.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.01054, allocations: 0.6481 MB / 261.1 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008779/0.01142, allocations: 1.275 MB / 262.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.01229, allocations: 1.052 MB / 263.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.01245, allocations: 188 kB / 263.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.01284, allocations: 303.7 kB / 263.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.01314, allocations: 0.557 MB / 264.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.01356, allocations: 0.6235 MB / 265.1 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.01497, allocations: 1.597 MB / 266.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01497, allocations: 0 / 266.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01497, allocations: 0 / 266.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.01499, allocations: 0 / 266.7 MB, free: 3.852 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002339/0.01732, allocations: 2.25 MB / 268.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01736, allocations: 15.98 kB / 269 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009296/0.01829, allocations: 487.4 kB / 269.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.01911, allocations: 0.8382 MB / 270.3 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.01916, allocations: 103 kB / 270.4 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.0193, allocations: 136.4 kB / 270.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.02063, allocations: 1.224 MB / 271.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.02065, allocations: 7.922 kB / 271.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.02073, allocations: 56 kB / 271.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.02078, allocations: 46 kB / 271.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.02188, allocations: 499.5 kB / 272.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.02592, allocations: 4.414 MB / 276.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.02703, allocations: 0.7558 MB / 277.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.02727, allocations: 209.4 kB / 277.7 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.02833, allocations: 1.179 MB / 278.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.02836, allocations: 49.33 kB / 278.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.673e-06/0.02836, allocations: 0 / 278.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001566/0.02993, allocations: 0.7211 MB / 279.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.02996, allocations: 85.05 kB / 279.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.03063, allocations: 0.8508 MB / 280.6 MB, free: 5.492 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.03066, allocations: 37.7 kB / 280.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.03099, allocations: 0.7678 MB / 281.4 MB, free: 4.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.03109, allocations: 210.3 kB / 281.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.03122, allocations: 139.9 kB / 281.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.03134, allocations: 0.516 MB / 282.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.03149, allocations: 85.25 kB / 282.3 MB, free: 3.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.03175, allocations: 327.9 kB / 282.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.03219, allocations: 462.6 kB / 283.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.03219, allocations: 4 kB / 283.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006042/0.0328, allocations: 0.5219 MB / 283.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.03282, allocations: 4 kB / 283.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.03282, allocations: 12.03 kB / 283.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.03284, allocations: 8 kB / 283.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.03322, allocations: 175.7 kB / 283.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.03324, allocations: 8 kB / 283.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.03346, allocations: 83.47 kB / 283.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.0335, allocations: 27.98 kB / 283.9 MB, free: 1.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.03369, allocations: 204.3 kB / 284.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.0338, allocations: 107.4 kB / 284.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.03434, allocations: 404.3 kB / 284.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.03434, allocations: 4 kB / 284.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.03435, allocations: 8 kB / 284.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.03436, allocations: 3.984 kB / 284.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.0356, allocations: 1.294 MB / 285.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.0356, allocations: 0 / 285.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.03583, allocations: 91.88 kB / 286 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.0362, allocations: 142.3 kB / 286.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.03623, allocations: 19.98 kB / 286.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.03825, allocations: 2.675 MB / 288.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.03825, allocations: 3.984 kB / 288.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.03948, allocations: 0.8625 MB / 289.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.03966, allocations: 99.3 kB / 289.8 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.03975, allocations: 23.98 kB / 289.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.04008, allocations: 51.97 kB / 289.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.0402, allocations: 63.83 kB / 290 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.04023, allocations: 16 kB / 290 MB, free: 11.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004987/0.04073, allocations: 0.5106 MB / 290.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04073, allocations: 0 / 290.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007481/0.04148, allocations: 370.8 kB / 290.9 MB, free: 10.76 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.04173, allocations: 135 kB / 291 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.04225, allocations: 325 kB / 291.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.04226, allocations: 4 kB / 291.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.0428, allocations: 441.2 kB / 291.7 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.04338, allocations: 176.2 kB / 291.9 MB, free: 9.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.04631, allocations: 2.351 MB / 294.3 MB, free: 7.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.04662, allocations: 441.7 kB / 294.7 MB, free: 6.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.04695, allocations: 174.5 kB / 294.9 MB, free: 6.629 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.04706, allocations: 56.48 kB / 294.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of SimCode: time 1.673e-06/0.04706, allocations: 0 / 294.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of Templates: time 0.1095/0.1566, allocations: 12.01 MB / 306.9 MB, free: 48.22 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.000666015781462]