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.001314/0.001314, allocations: 77.14 kB / 21.25 MB, free: 0.5391 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.001369/0.001369, allocations: 159.6 kB / 24.51 MB, free: 3.707 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.397/1.397, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 179] 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.001557/0.001557, allocations: 51.98 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08898, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01092/0.0999, allocations: 8.707 MB / 387.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00665/0.1065, allocations: 3.244 MB / 390.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.1077, allocations: 91.56 kB / 391 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009032/0.1167, allocations: 3.783 MB / 394.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004427/0.1212, allocations: 1.52 MB / 396.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.1237, allocations: 1.016 MB / 397.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.1346, allocations: 9.352 MB / 406.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01994/0.1545, allocations: 12.83 MB / 419.5 MB, free: 6.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/0.1616, allocations: 5.175 MB / 424.6 MB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009918/0.1715, allocations: 6.06 MB / 430.7 MB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003473/0.175, allocations: 1.395 MB / 432.1 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/0.1808, allocations: 1.636 MB / 433.7 MB, free: 8.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004871/0.1857, allocations: 2.93 MB / 436.7 MB, free: 5.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008342/0.194, allocations: 4.269 MB / 440.9 MB, free: 1.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0214/0.2154, allocations: 18.99 MB / 459.9 MB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2154, allocations: 3.938 kB / 459.9 MB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2154, allocations: 0 / 459.9 MB, free: 14.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003945/0.2158, allocations: 0 / 459.9 MB, free: 14.3 MB / 430.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.03497/0.2508, allocations: 12.38 MB / 472.3 MB, free: 1.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2508, allocations: 15.97 kB / 472.3 MB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3131/0.5639, allocations: 8.416 MB / 480.7 MB, free: 74.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.5771, allocations: 6.02 MB / 486.8 MB, free: 72.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005078/0.5776, allocations: 0.6608 MB / 487.4 MB, free: 72.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/0.5804, allocations: 0.8698 MB / 488.3 MB, free: 71.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.6051, allocations: 16.28 MB / 0.4927 GB, free: 57.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/0.6053, allocations: 15.89 kB / 0.4927 GB, free: 57.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009051/0.6062, allocations: 363.7 kB / 0.4931 GB, free: 57.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003546/0.6066, allocations: 0.562 MB / 0.4936 GB, free: 56.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.6279, allocations: 15.69 MB / 0.509 GB, free: 41.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05531/0.6832, allocations: 41.76 MB / 0.5497 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/0.6996, allocations: 8.46 MB / 0.558 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005098/0.7047, allocations: 3.241 MB / 0.5612 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/0.7051, allocations: 119.9 kB / 0.5613 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/0.7052, allocations: 91.06 kB / 0.5614 GB, free: 3.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.625e-06/0.7052, allocations: 0 / 0.5614 GB, free: 3.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02582/0.731, allocations: 11.09 MB / 0.5722 GB, free: 8.086 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.7311, allocations: 133 kB / 0.5723 GB, free: 7.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006489/0.7376, allocations: 3.972 MB / 0.5762 GB, free: 3.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008991/0.7385, allocations: 105.6 kB / 0.5763 GB, free: 3.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003061/0.7416, allocations: 4.032 MB / 0.5802 GB, free: 15.78 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002076/0.7436, allocations: 1.681 MB / 0.5819 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002358/0.746, allocations: 1.496 MB / 0.5834 GB, free: 12.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7461, allocations: 301.1 kB / 0.5836 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005937/0.752, allocations: 3.695 MB / 0.5872 GB, free: 8.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008337/0.7604, allocations: 6.531 MB / 0.5936 GB, free: 0.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/0.776, allocations: 10.85 MB / 0.6042 GB, free: 4.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.7761, allocations: 24 kB / 0.6042 GB, free: 4.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02402/0.8001, allocations: 11.96 MB / 0.6159 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.8002, allocations: 48.03 kB / 0.616 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/0.8004, allocations: 92 kB / 0.6161 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005749/0.8062, allocations: 1.621 MB / 0.6176 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006995/0.8132, allocations: 1.681 MB / 0.6193 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.8353, allocations: 16.72 MB / 0.6356 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/0.8411, allocations: 0.9742 MB / 0.6366 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/0.8424, allocations: 363.9 kB / 0.6369 GB, free: 2.383 MB / 0.5137 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.007137/0.8495, allocations: 3.758 MB / 0.6406 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.8507, allocations: 405.4 kB / 0.641 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/0.868, allocations: 8.526 MB / 0.6493 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.891e-05/0.868, allocations: 52 kB / 0.6493 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.525e-05/0.8681, allocations: 12 kB / 0.6493 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.614e-05/0.8682, allocations: 23.91 kB / 0.6494 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03139/0.8996, allocations: 14.89 MB / 0.6639 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.8996, allocations: 4 kB / 0.6639 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/0.9032, allocations: 0.8659 MB / 0.6648 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004993/0.9082, allocations: 1.518 MB / 0.6662 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003557/0.9086, allocations: 108 kB / 0.6663 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2203/1.129, allocations: 16.53 MB / 0.6825 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.129, allocations: 2.812 kB / 0.6825 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/1.147, allocations: 12.25 MB / 0.6945 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.149, allocations: 1.079 MB / 0.6955 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005029/1.149, allocations: 87.41 kB / 0.6956 GB, free: 168.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.152, allocations: 298.3 kB / 0.6959 GB, free: 168.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006592/1.152, allocations: 349.1 kB / 0.6962 GB, free: 168.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002773/1.153, allocations: 144.3 kB / 0.6963 GB, free: 168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003015/1.156, allocations: 2.537 MB / 0.6988 GB, free: 167.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 0 / 0.6988 GB, free: 167.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005708/1.161, allocations: 2.405 MB / 0.7012 GB, free: 166.4 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.0004707/1.162, allocations: 272.9 kB / 0.7014 GB, free: 166.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.173, allocations: 9.005 MB / 0.7102 GB, free: 162.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.173, allocations: 6.406 kB / 0.7102 GB, free: 162.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005624/1.179, allocations: 4.186 MB / 0.7143 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/1.182, allocations: 0.7129 MB / 0.715 GB, free: 157.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/1.204, allocations: 17.07 MB / 0.7317 GB, free: 142.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004623/1.208, allocations: 5.58 MB / 0.7371 GB, free: 136.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006228/1.215, allocations: 3.3 MB / 0.7404 GB, free: 133.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.216, allocations: 400.4 kB / 0.7407 GB, free: 133.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/1.216, allocations: 0 / 0.7407 GB, free: 133.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08671/1.302, allocations: 62.37 MB / 0.8016 GB, free: 71.54 MB / 0.545 GB " [Timeout remaining time 659] 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 ida -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: 7.796721784980036]