Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001576/0.001576, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001768/0.001768, allocations: 215.5 kB / 24.48 MB, free: 3.98 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 2.051/2.051, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 43.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3602, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01519/0.3754, allocations: 8.709 MB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009026/0.3844, allocations: 3.244 MB / 444.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.3859, allocations: 83.56 kB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.3968, allocations: 3.592 MB / 448 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005702/0.4025, allocations: 1.529 MB / 449.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.4058, allocations: 1.026 MB / 450.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0142/0.42, allocations: 9.348 MB / 459.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02682/0.4469, allocations: 12.95 MB / 472.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.4576, allocations: 5.179 MB / 478 MB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/0.4716, allocations: 6.165 MB / 484.2 MB, free: 2.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004957/0.4766, allocations: 1.395 MB / 485.6 MB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007085/0.4836, allocations: 1.656 MB / 487.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005422/0.4891, allocations: 2.923 MB / 490.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008446/0.4975, allocations: 4.273 MB / 494.4 MB, free: 8.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04457/0.5421, allocations: 18.99 MB / 0.5014 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5421, allocations: 0 / 0.5014 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5421, allocations: 3.938 kB / 0.5014 GB, free: 5.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004243/0.5425, allocations: 0 / 0.5014 GB, free: 5.332 MB / 414.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.04771/0.5902, allocations: 12.38 MB / 0.5135 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5903, allocations: 12.03 kB / 0.5135 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0989/0.6892, allocations: 8.429 MB / 0.5217 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02233/0.7115, allocations: 6.027 MB / 0.5276 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/0.7126, allocations: 0.6584 MB / 0.5282 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005192/0.7178, allocations: 0.871 MB / 0.5291 GB, free: 8.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6681/1.386, allocations: 16.27 MB / 0.545 GB, free: 82.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003848/1.386, allocations: 10.66 kB / 0.545 GB, free: 82.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002664/1.389, allocations: 366.4 kB / 0.5453 GB, free: 82.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005253/1.389, allocations: 0.5558 MB / 0.5459 GB, free: 82.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/1.421, allocations: 15.69 MB / 0.5612 GB, free: 75.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07578/1.497, allocations: 41.74 MB / 0.602 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03343/1.53, allocations: 8.452 MB / 0.6102 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02119/1.552, allocations: 3.241 MB / 0.6134 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/1.552, allocations: 123.9 kB / 0.6135 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/1.552, allocations: 82.5 kB / 0.6136 GB, free: 22.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 1.108e-05/1.552, allocations: 0 / 0.6136 GB, free: 22.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.03122/1.583, allocations: 11.1 MB / 0.6244 GB, free: 11.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/1.584, allocations: 129.1 kB / 0.6245 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006062/1.59, allocations: 3.967 MB / 0.6284 GB, free: 7.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004336/1.59, allocations: 101.7 kB / 0.6285 GB, free: 7.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002042/1.592, allocations: 4.041 MB / 0.6325 GB, free: 4.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.594, allocations: 1.693 MB / 0.6341 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002602/1.596, allocations: 1.485 MB / 0.6356 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.143e-05/1.596, allocations: 305.1 kB / 0.6359 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009479/1.606, allocations: 3.695 MB / 0.6395 GB, free: 12.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/1.618, allocations: 6.531 MB / 0.6458 GB, free: 5.023 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02506/1.643, allocations: 10.86 MB / 0.6564 GB, free: 8.828 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/1.643, allocations: 24 kB / 0.6565 GB, free: 8.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03169/1.675, allocations: 11.95 MB / 0.6681 GB, free: 12.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.675, allocations: 47.98 kB / 0.6682 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/1.675, allocations: 92 kB / 0.6683 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/1.683, allocations: 1.629 MB / 0.6699 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009674/1.692, allocations: 1.673 MB / 0.6715 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02731/1.72, allocations: 16.72 MB / 0.6878 GB, free: 7.984 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007437/1.727, allocations: 0.9588 MB / 0.6888 GB, free: 7.02 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.729, allocations: 372 kB / 0.6891 GB, free: 6.656 MB / 0.4982 GB 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.008502/1.737, allocations: 3.758 MB / 0.6928 GB, free: 2.883 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.738, allocations: 409.4 kB / 0.6932 GB, free: 2.48 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02482/1.763, allocations: 8.525 MB / 0.7015 GB, free: 9.867 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-05/1.763, allocations: 52 kB / 0.7016 GB, free: 9.816 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.952e-05/1.763, allocations: 12 kB / 0.7016 GB, free: 9.805 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.098e-05/1.763, allocations: 23.91 kB / 0.7016 GB, free: 9.781 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04265/1.806, allocations: 14.89 MB / 0.7161 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.806, allocations: 256 / 0.7161 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007158/1.813, allocations: 0.8776 MB / 0.717 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01365/1.827, allocations: 1.51 MB / 0.7185 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001166/1.828, allocations: 112 kB / 0.7186 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03716/1.865, allocations: 16.53 MB / 0.7347 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/1.865, allocations: 4 kB / 0.7347 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3541/2.219, allocations: 12.24 MB / 0.7467 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/2.223, allocations: 1.075 MB / 0.7477 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006216/2.223, allocations: 90.19 kB / 0.7478 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/2.225, allocations: 299 kB / 0.7481 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007397/2.226, allocations: 343.4 kB / 0.7484 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002819/2.226, allocations: 144.6 kB / 0.7486 GB, free: 172.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003205/2.23, allocations: 2.538 MB / 0.751 GB, free: 172.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.23, allocations: 0 / 0.751 GB, free: 172.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007931/2.238, allocations: 2.412 MB / 0.7534 GB, free: 171.8 MB / 0.545 GB 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.0008264/2.238, allocations: 266.9 kB / 0.7536 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.256, allocations: 9.021 MB / 0.7625 GB, free: 168.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.256, allocations: 0 / 0.7625 GB, free: 168.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008261/2.264, allocations: 4.173 MB / 0.7665 GB, free: 166.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/2.269, allocations: 0.7162 MB / 0.7672 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/2.303, allocations: 17.07 MB / 0.7839 GB, free: 155.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009331/2.313, allocations: 5.584 MB / 0.7894 GB, free: 151.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01145/2.324, allocations: 3.297 MB / 0.7926 GB, free: 149.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03062/2.355, allocations: 397.7 kB / 0.793 GB, free: 148.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.242e-06/2.355, allocations: 0 / 0.793 GB, free: 148.9 MB / 0.545 GB Notification: Performance of Templates: time 0.2233/2.578, allocations: 74.44 MB / 0.8656 GB, free: 76.09 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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: 12.605309892009245]