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.001027/0.001027, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.0009788/0.0009788, allocations: 160.1 kB / 25.75 MB, free: 8.961 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.9098/0.9098, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 2.044e-06/2.044e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.579e-05, allocations: 9.203 kB / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006296/0.006332, allocations: 4.557 MB / 255.7 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.009853, allocations: 1.702 MB / 257.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.01054, allocations: 31.81 kB / 257.4 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.01131, allocations: 274 kB / 257.7 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.01344, allocations: 0.6486 MB / 258.3 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.01407, allocations: 243.4 kB / 258.5 MB, free: 328 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.01659, allocations: 1.945 MB / 260.5 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.01764, allocations: 0.6481 MB / 261.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.01931, allocations: 1.154 MB / 262.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.02077, allocations: 0.986 MB / 263.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.02114, allocations: 184 kB / 263.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.02181, allocations: 307.7 kB / 263.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.0223, allocations: 0.5648 MB / 264.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.02338, allocations: 0.6236 MB / 264.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.02601, allocations: 1.612 MB / 266.6 MB, free: 8.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.02602, allocations: 0 / 266.6 MB, free: 8.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02602, allocations: 0 / 266.6 MB, free: 8.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.912e-05/0.02608, allocations: 0 / 266.6 MB, free: 8.25 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.004811/0.03089, allocations: 2.301 MB / 268.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.03095, allocations: 15.97 kB / 268.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.03282, allocations: 0.5267 MB / 269.4 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.0345, allocations: 0.8719 MB / 270.3 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.03459, allocations: 103 kB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.03481, allocations: 136.3 kB / 270.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.03722, allocations: 1.22 MB / 271.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.03725, allocations: 7.938 kB / 271.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.03739, allocations: 56 kB / 271.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.03747, allocations: 46 kB / 271.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.03894, allocations: 0.4955 MB / 272.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007398/0.04633, allocations: 4.407 MB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.04826, allocations: 0.7628 MB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.04865, allocations: 209.5 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/0.05055, allocations: 1.175 MB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.0506, allocations: 45.38 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.835e-06/0.0506, allocations: 4 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002116/0.05271, allocations: 0.7221 MB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.05276, allocations: 81.11 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.05355, allocations: 0.847 MB / 280.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.05359, allocations: 37.7 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.05422, allocations: 0.7678 MB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.05433, allocations: 206.3 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.05447, allocations: 143.9 kB / 281.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.0546, allocations: 0.516 MB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.05477, allocations: 85.25 kB / 282.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.05504, allocations: 335.8 kB / 282.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.05548, allocations: 450.7 kB / 283.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.05549, allocations: 3.938 kB / 283.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006559/0.05614, allocations: 0.5215 MB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.05616, allocations: 7.281 kB / 283.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.05617, allocations: 8.562 kB / 283.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.05619, allocations: 12 kB / 283.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.0566, allocations: 179.7 kB / 283.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.05661, allocations: 11.94 kB / 283.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.0569, allocations: 83.52 kB / 283.9 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.05693, allocations: 27.94 kB / 283.9 MB, free: 6.176 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.0002665/0.0572, allocations: 196.4 kB / 284.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.05731, allocations: 107.4 kB / 284.2 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.05788, allocations: 408.3 kB / 284.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.05789, allocations: 4 kB / 284.6 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.05789, allocations: 4 kB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.0579, allocations: 7.984 kB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.05933, allocations: 1.29 MB / 285.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.05933, allocations: 0 / 285.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.05958, allocations: 91.88 kB / 286 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.05993, allocations: 139.6 kB / 286.2 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.05997, allocations: 19.98 kB / 286.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.06197, allocations: 2.683 MB / 288.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.06197, allocations: 4.016 kB / 288.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.06285, allocations: 0.8663 MB / 289.7 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.06298, allocations: 103.3 kB / 289.8 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.06305, allocations: 16 kB / 289.9 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.06332, allocations: 55.94 kB / 289.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.06342, allocations: 59.89 kB / 290 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.06345, allocations: 15.98 kB / 290 MB, free: 15.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004556/0.0639, allocations: 0.5106 MB / 290.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0639, allocations: 0 / 290.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007583/0.06466, allocations: 366.8 kB / 290.9 MB, free: 15.03 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.0002191/0.06488, allocations: 135 kB / 291 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005062/0.06539, allocations: 328 kB / 291.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.0654, allocations: 4.375 kB / 291.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.06591, allocations: 446.7 kB / 291.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.0665, allocations: 172 kB / 291.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.06934, allocations: 2.347 MB / 294.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.06965, allocations: 445.6 kB / 294.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003371/0.06999, allocations: 182.5 kB / 294.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.07011, allocations: 52.5 kB / 294.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.472e-06/0.07011, allocations: 0 / 294.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of Templates: time 0.01604/0.08615, allocations: 11.38 MB / 306.3 MB, free: 15.49 MB / 298.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.041200214996934]