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.001329/0.001329, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001635/0.001635, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.411/1.411, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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 1.372e-06/1.372e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.315e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009159/0.009182, allocations: 5.906 MB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.01485, allocations: 2.154 MB / 333.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.01595, allocations: 51.84 kB / 333.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009961/0.01694, allocations: 378 kB / 333.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.01934, allocations: 0.8755 MB / 334.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/0.02021, allocations: 352.8 kB / 334.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.02416, allocations: 3.29 MB / 338.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.0257, allocations: 1.077 MB / 339.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.02834, allocations: 1.875 MB / 341 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.0307, allocations: 1.52 MB / 342.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005295/0.03123, allocations: 296 kB / 342.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009918/0.03223, allocations: 423.7 kB / 343.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009069/0.03313, allocations: 0.884 MB / 344.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.03458, allocations: 1.002 MB / 345.1 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004864/0.03944, allocations: 4.172 MB / 349.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.03945, allocations: 0 / 349.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03945, allocations: 0 / 349.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-05/0.03952, allocations: 0 / 349.3 MB, free: 12.86 MB / 318.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.008407/0.04792, allocations: 3.447 MB / 352.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.04796, allocations: 12.03 kB / 352.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.05238, allocations: 0.7524 MB / 353.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.05573, allocations: 1.682 MB / 355.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.05589, allocations: 173 kB / 355.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003851/0.05628, allocations: 224.3 kB / 355.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005859/0.06213, allocations: 3.441 MB / 359 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.06218, allocations: 11.88 kB / 359 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.06242, allocations: 92 kB / 359.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/0.0625, allocations: 73.97 kB / 359.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.06761, allocations: 2.866 MB / 362.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.08249, allocations: 8.043 MB / 370.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.08674, allocations: 1.828 MB / 371.9 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.08803, allocations: 0.7551 MB / 372.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003899/0.09193, allocations: 2.059 MB / 374.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.09198, allocations: 50.75 kB / 374.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.525e-06/0.09198, allocations: 0 / 374.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.008332/0.1003, allocations: 4.13 MB / 378.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.1004, allocations: 115.3 kB / 379 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.1026, allocations: 1.596 MB / 380.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.1027, allocations: 45.7 kB / 380.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008912/0.1036, allocations: 1.148 MB / 381.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.1039, allocations: 364.9 kB / 382.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.1043, allocations: 234.9 kB / 382.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1045, allocations: 361.9 kB / 382.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.1056, allocations: 0.6349 MB / 383.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.1071, allocations: 1.012 MB / 384.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.1098, allocations: 1.702 MB / 386.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1098, allocations: 4 kB / 386.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003674/0.1135, allocations: 1.946 MB / 388.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1135, allocations: 12.03 kB / 388.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.1135, allocations: 12 kB / 388.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.1139, allocations: 125.6 kB / 388.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.1152, allocations: 331.5 kB / 388.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.1185, allocations: 3.163 MB / 391.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.1197, allocations: 99.8 kB / 391.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.1198, allocations: 52 kB / 391.8 MB, free: 1.035 MB / 350.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.001489/0.1213, allocations: 0.8373 MB / 392.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.1216, allocations: 159 kB / 392.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.1244, allocations: 1.395 MB / 394.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.1244, allocations: 8 kB / 394.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.1244, allocations: 8 kB / 394.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.1244, allocations: 11.91 kB / 394.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.128, allocations: 1.955 MB / 396.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.128, allocations: 4 kB / 396.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.1289, allocations: 187.8 kB / 396.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007124/0.1296, allocations: 264.8 kB / 396.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.173e-05/0.1297, allocations: 31.98 kB / 396.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006532/0.1362, allocations: 5.833 MB / 402.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1362, allocations: 0 / 402.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/0.1407, allocations: 2.542 MB / 405.1 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/0.1411, allocations: 190.8 kB / 405.2 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.1413, allocations: 31.98 kB / 405.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.1422, allocations: 83.91 kB / 405.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.1424, allocations: 96.31 kB / 405.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.1425, allocations: 35.98 kB / 405.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.1441, allocations: 1.099 MB / 406.6 MB, free: 1.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1441, allocations: 0 / 406.6 MB, free: 1.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001571/0.1457, allocations: 448 kB / 407 MB, free: 1.422 MB / 366.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.0003359/0.146, allocations: 163 kB / 407.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.149, allocations: 1.677 MB / 408.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.149, allocations: 4 kB / 408.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.1511, allocations: 1.146 MB / 410 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.1527, allocations: 257.5 kB / 410.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/0.1603, allocations: 4.554 MB / 414.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.1621, allocations: 1.535 MB / 416.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.1632, allocations: 447.2 kB / 416.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.1636, allocations: 104.5 kB / 416.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1636, allocations: 0 / 416.9 MB, free: 7.367 MB / 382.1 MB Notification: Performance of Templates: time 0.0373/0.2009, allocations: 19.25 MB / 436.1 MB, free: 4.398 MB / 398.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 5.029779106378555]