Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001337/0.001337, allocations: 74.58 kB / 21.24 MB, free: 0.5547 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.001301/0.001301, allocations: 152.5 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 45.58 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08621, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00624/0.09245, allocations: 4.225 MB / 375.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.0957, allocations: 1.588 MB / 377.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.09624, allocations: 31.81 kB / 377.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.09693, allocations: 278.3 kB / 377.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.09862, allocations: 0.688 MB / 378.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.09912, allocations: 222.5 kB / 378.6 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.1013, allocations: 1.883 MB / 380.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.1022, allocations: 0.6644 MB / 381.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008476/0.1031, allocations: 0.8138 MB / 382 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.1044, allocations: 1.016 MB / 383 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.1046, allocations: 184 kB / 383.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.1052, allocations: 311.8 kB / 383.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.1057, allocations: 0.5336 MB / 384 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.1065, allocations: 0.7273 MB / 384.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.1091, allocations: 2.593 MB / 387.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1091, allocations: 0 / 387.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1091, allocations: 0 / 387.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1091, allocations: 0 / 387.3 MB, free: 7.504 MB / 350.1 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.004564/0.1137, allocations: 2.157 MB / 389.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1137, allocations: 8.922 kB / 389.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.1156, allocations: 375.6 kB / 389.8 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.1174, allocations: 1.042 MB / 390.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.1175, allocations: 103 kB / 391 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.1177, allocations: 132.1 kB / 391.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.1209, allocations: 2.037 MB / 393.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.1209, allocations: 0 / 393.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.121, allocations: 56 kB / 393.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/0.1211, allocations: 53.92 kB / 393.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002893/0.124, allocations: 1.68 MB / 394.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008231/0.1322, allocations: 4.834 MB / 399.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.1348, allocations: 1.052 MB / 400.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008448/0.1356, allocations: 479.1 kB / 401.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.1379, allocations: 1.23 MB / 402.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.1379, allocations: 42.55 kB / 402.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.1379, allocations: 288 / 402.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003411/0.1413, allocations: 1.336 MB / 403.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.1414, allocations: 85.11 kB / 404 MB, free: 6.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.1429, allocations: 1.008 MB / 405 MB, free: 5.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.1429, allocations: 41.69 kB / 405 MB, free: 5.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.1435, allocations: 0.6987 MB / 405.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1437, allocations: 198.3 kB / 405.9 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.1439, allocations: 126.3 kB / 406 MB, free: 4.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.144, allocations: 334 kB / 406.4 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.1447, allocations: 357 kB / 406.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007858/0.1454, allocations: 0.517 MB / 407.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.1469, allocations: 0.8672 MB / 408.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.1469, allocations: 8 kB / 408.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001773/0.1487, allocations: 1.006 MB / 409.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1487, allocations: 8 kB / 409.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1487, allocations: 4 kB / 409.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.1487, allocations: 8 kB / 409.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/0.1495, allocations: 187.6 kB / 409.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.1495, allocations: 12.41 kB / 409.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.1501, allocations: 83.58 kB / 409.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.1501, allocations: 24 kB / 409.4 MB, free: 0.7617 MB / 366.1 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.0007829/0.1509, allocations: 0.5286 MB / 410 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1511, allocations: 95.39 kB / 410.1 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.1525, allocations: 0.6771 MB / 410.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1525, allocations: 4 kB / 410.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1525, allocations: 7.938 kB / 410.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1525, allocations: 0 / 410.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.155, allocations: 1.36 MB / 412.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.155, allocations: 0 / 412.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.1555, allocations: 99.86 kB / 412.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.1559, allocations: 148.6 kB / 412.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.156, allocations: 24.08 kB / 412.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/0.1593, allocations: 2.695 MB / 415.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1593, allocations: 3.938 kB / 415.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.1617, allocations: 1.47 MB / 416.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.1619, allocations: 115.3 kB / 416.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.1621, allocations: 19.98 kB / 416.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.1627, allocations: 63.88 kB / 416.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.1628, allocations: 63.77 kB / 416.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.1628, allocations: 16 kB / 416.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.1639, allocations: 0.7098 MB / 417.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 4 kB / 417.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001024/0.1649, allocations: 358.9 kB / 417.9 MB, free: 8.121 MB / 382.1 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.000239/0.1651, allocations: 142.1 kB / 418 MB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.1665, allocations: 0.749 MB / 418.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1666, allocations: 3.938 kB / 418.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.1677, allocations: 0.5754 MB / 419.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.1686, allocations: 163.3 kB / 419.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.1732, allocations: 2.804 MB / 422.3 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.1745, allocations: 0.909 MB / 423.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006165/0.1751, allocations: 234.5 kB / 423.4 MB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.1753, allocations: 56.5 kB / 423.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1753, allocations: 4 kB / 423.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of Templates: time 0.02232/0.1976, allocations: 11.44 MB / 434.9 MB, free: 7.16 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.746762298978865]